diff --git a/bl-kernel/admin/views/editor.php b/bl-kernel/admin/views/editor.php index 07342cb1..e6b460a9 100644 --- a/bl-kernel/admin/views/editor.php +++ b/bl-kernel/admin/views/editor.php @@ -228,6 +228,21 @@ closeModal('date', true); }); + // Modal position events + // ------------------------------------------------------------------------ + $('#btnSavePosition').on('click', function() { + var args = { + position: $('#position').val() + }; + savePage(args); + disableBtnSave(); + closeModal('position'); + }); + + $('#btnCancelPosition').on('click', function() { + closeModal('position', true); + }); + // Modal friendly-url events // ------------------------------------------------------------------------ $('#btnSaveFriendlyURL').on('click', function() { @@ -409,11 +424,11 @@