N°3685 - Front-end performances: Include jQuery.popup_menu lib. only when necessary

This commit is contained in:
Molkobain
2021-09-10 18:16:43 +02:00
parent 94d53575ae
commit da3bab9647
5 changed files with 7 additions and 4 deletions

View File

@@ -37,7 +37,6 @@ $(function () {
$('#sfl_'+me.options.sListId).fieldsorter({hasKeyColumn: bViewLink, labels: this.options.oLabels, fields: this.options.oColumns, onChange: function() { me._onSpecificSettings(); } });
$('#datatable_dlg_'+me.options.sListId).find('input[name=page_size]').on('click', function() { me._onSpecificSettings(); });
$('#datatable_dlg_'+me.options.sListId).find('input[name=save_settings]').on('click', function() { me._updateSaveScope(); });
this.element.find('.itop_popup > ul li').popupmenu();
this._updateSaveScope();
this._saveDlgState();
},