Change how select menus are enhanced for batch exec options
jquery selectmenu doesn't play nicely in a dialog, when expanded (options are cut off from screen)
This commit is contained in:
parent
e78777f8e1
commit
067cd60e20
|
@ -36,7 +36,10 @@
|
|||
],
|
||||
open: function() {
|
||||
if (! dialog_opened) {
|
||||
$('#execution-options-dialog select').selectmenu();
|
||||
$('#execution-options-dialog select[auto-enhance="true"]').selectmenu();
|
||||
$('#execution-options-dialog select[auto-enhance="true"]').on('selectmenuopen', function(event, ui) {
|
||||
show_all_options($(this));
|
||||
});
|
||||
dialog_opened = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue