webstaff: make context menus in MARC editor scrollable
authorGalen Charlton <gmc@esilibrary.com>
Thu, 8 Oct 2015 14:04:30 +0000 (14:04 +0000)
committerKathy Lussier <klussier@masslnc.org>
Tue, 2 Feb 2016 19:58:50 +0000 (14:58 -0500)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js

index ce6f4c8..734b63d 100644 (file)
@@ -108,7 +108,7 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap'])
 
                         $scope.contextMenuEvent = event;
                         var tmpl = 
-                            '<ul class="dropdown-menu" role="menu" style="z-index: 2000;">'+
+                            '<ul class="dropdown-menu scrollable-menu" role="menu" style="z-index: 2000;">'+
                                 '<eg-context-menu-item context-menu-event="contextMenuEvent" ng-repeat="item in item_list" item="item" content="content"/>'+
                             '</ul>';
             
@@ -254,7 +254,7 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap'])
                         $('body').trigger('click');
 
                         var tmpl = 
-                            '<ul class="dropdown-menu" role="menu" style="z-index: 2000;">'+
+                            '<ul class="dropdown-menu scrollable-menu" role="menu" style="z-index: 2000;">'+
                                 '<eg-context-menu-item ng-repeat="item in item_container" item="item" content="content"/>'+
                             '</ul>';