From: Thomas Berezansky Date: Fri, 27 Jul 2012 20:00:27 +0000 (-0400) Subject: Change popups to menupopups in marc edit X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=27bcb6740e92198523c80d5eef3f63eb8804ad7e;p=evergreen%2Fpines.git Change popups to menupopups in marc edit Because popups are transparent by default. Signed-off-by: Thomas Berezansky Signed-off-by: Dan Scott --- diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js index 5c736369f2..620923a835 100644 --- a/Open-ILS/xul/staff_client/server/cat/marcedit.js +++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js @@ -267,7 +267,7 @@ function my_init() { context_menus = createComplexXULElement('popupset'); document.documentElement.appendChild( context_menus ); - tag_menu = createPopup({position : 'after_start', id : 'tags_popup'}); + tag_menu = createMenuPopup({position : 'after_start', id : 'tags_popup'}); context_menus.appendChild( tag_menu ); tag_menu.appendChild( @@ -1114,13 +1114,13 @@ function genToolTips () { ) ); - var i1_popup = createPopup({position : 'after_start', id : 't' + f.@tag + 'i1' }); + var i1_popup = createMenuPopup({position : 'after_start', id : 't' + f.@tag + 'i1' }); context_menus.appendChild( i1_popup ); - var i2_popup = createPopup({position : 'after_start', id : 't' + f.@tag + 'i2' }); + var i2_popup = createMenuPopup({position : 'after_start', id : 't' + f.@tag + 'i2' }); context_menus.appendChild( i2_popup ); - var sf_popup = createPopup({position : 'after_start', id : 't' + f.@tag + 'sf' }); + var sf_popup = createMenuPopup({position : 'after_start', id : 't' + f.@tag + 'sf' }); context_menus.appendChild( sf_popup ); tooltip_hash['tag' + f.@tag] = f.description; @@ -1495,7 +1495,7 @@ function getAuthorityContextMenu (target, sf) { auth_pages[menu_id] = 0; } - var sf_popup = createPopup({ id : menu_id, flex : 1 }); + var sf_popup = createMenuPopup({ id : menu_id, flex : 1 }); sf_popup.addEventListener("popuphiding", function(event) { if (show_auth_menu) {