webstaff: force MARC editor context menus to have a high z-index
authorGalen Charlton <gmc@esilibrary.com>
Fri, 17 Jul 2015 22:22:47 +0000 (22:22 +0000)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 19 Aug 2015 17:39:19 +0000 (13:39 -0400)
Magic value of 2000 chosen to ensure that they appear
even when the MARC editor is embedded in a Bootstrap
modal.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js

index fe358d9..ddd469c 100644 (file)
@@ -79,7 +79,7 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap'])
                         $('body').trigger('click');
 
                         var tmpl = 
-                            '<ul class="dropdown-menu" role="menu">'+
+                            '<ul class="dropdown-menu" role="menu" style="z-index: 2000;">'+
                                 '<eg-context-menu-item ng-repeat="item in item_list" item="item" content="content"/>'+
                             '</ul>';
             
@@ -220,7 +220,7 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap'])
                         $('body').trigger('click');
 
                         var tmpl = 
-                            '<ul class="dropdown-menu" role="menu">'+
+                            '<ul class="dropdown-menu" role="menu" style="z-index: 2000;">'+
                                 '<eg-context-menu-item ng-repeat="item in item_container" item="item" content="content"/>'+
                             '</ul>';