mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
Merge pull request #248 from silverstripe-terraformers/bugfix-update-preview-on-reorder
Update CMS preview when re-ordering rows
This commit is contained in:
commit
8e24be2660
@ -325,6 +325,12 @@
|
|||||||
self.find('.sortable-header th:last').html(content);
|
self.find('.sortable-header th:last').html(content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// update CMS preview
|
||||||
|
var preview = $('.cms-preview');
|
||||||
|
if (preview.length) {
|
||||||
|
preview.entwine('.ss.preview')._initialiseFromContent();
|
||||||
|
}
|
||||||
|
|
||||||
form.removeClass('loading');
|
form.removeClass('loading');
|
||||||
if (successCallback) {
|
if (successCallback) {
|
||||||
successCallback.apply(this, arguments);
|
successCallback.apply(this, arguments);
|
||||||
|
Loading…
Reference in New Issue
Block a user