From 1e6f6c06fc02ad7a52635006254829c486a6774a Mon Sep 17 00:00:00 2001 From: miker Date: Wed, 14 Jun 2006 16:45:08 +0000 Subject: [PATCH] fill empty authority context menues git-svn-id: svn://svn.open-ils.org/ILS/trunk@4610 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/marcedit.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js index 0a7c0d2ad3..0411e5af57 100644 --- a/Open-ILS/xul/staff_client/server/cat/marcedit.js +++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js @@ -1146,6 +1146,9 @@ function getAuthorityContextMenu (target, sf) { sf_popup.appendChild( submenu ); } + if (sf_popup.childNodes.length == 0) + sf_popup.appendChild(createLabel( { value : "No matching authority records found" } ) ); + target.setAttribute('context', menu_id); return true; } -- 2.43.2