diff --git a/include/bottom.php b/include/bottom.php index 240210e24..7f6020728 100644 --- a/include/bottom.php +++ b/include/bottom.php @@ -16,8 +16,8 @@ if (Auth::check()) { '.tr('OpenSTAManager').' -
- '; + + '; } echo ' '; diff --git a/lib/functions.js b/lib/functions.js index 0b2784476..393b26e2e 100644 --- a/lib/functions.js +++ b/lib/functions.js @@ -412,6 +412,10 @@ function start_widgets($widgets) { // Modal function launch_modal(title, href, init_modal, id) { + + //Fix - Select2 does not function properly when I use it inside a Bootstrap modal. + $.fn.modal.Constructor.prototype.enforceFocus = function() {}; + if (id == null) { id = '#bs-popup'; } diff --git a/modules/articoli/edit.php b/modules/articoli/edit.php index e2b8880cb..4e937477c 100644 --- a/modules/articoli/edit.php +++ b/modules/articoli/edit.php @@ -70,7 +70,7 @@ $_SESSION['superselect']['id_categoria'] = $records[0]['id_categoria'];