Update CMS preview when re-ordering rows

This commit is contained in:
Bernard Hamlin 2018-02-27 16:13:06 +13:00
parent 0974e36d57
commit e7825cd0a3

View File

@ -325,6 +325,12 @@
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');
if (successCallback) {
successCallback.apply(this, arguments);