From: Galen Charlton <gmc@esilibrary.com>
Date: Fri, 17 Jul 2015 22:22:47 +0000 (+0000)
Subject: webstaff: force MARC editor context menus to have a high z-index
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=537af6e5c2763503e1cb4af12d1c34491e2b276f;p=evergreen%2Fmasslnc.git

webstaff: force MARC editor context menus to have a high z-index

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>
---

diff --git a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js
index fe358d919c..ddd469cd37 100644
--- a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js
+++ b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js
@@ -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>';