mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 08:09:42 +00:00
dashboard: properly clean up selectpicker
This commit is contained in:
parent
d7d016f400
commit
684ee270f1
@ -318,8 +318,11 @@ class WidgetManager {
|
||||
dialog.close();
|
||||
}
|
||||
}],
|
||||
onshown: (dialog) => {
|
||||
onshown: function (dialog) {
|
||||
$('#widget-selection').selectpicker();
|
||||
},
|
||||
onhide: function (dialog) {
|
||||
$('#widget-selection').selectpicker('destroy');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user