From: phasefx Date: Wed, 19 Aug 2009 08:20:21 +0000 (+0000) Subject: backport part of changeset 13842 for working clipboard context menus in marc editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9ee7bd98af7d3220fe1cb3facc476cb875e9d488;p=Evergreen.git backport part of changeset 13842 for working clipboard context menus in marc editor git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4_0@13878 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js index f4bde78580..13909485db 100644 --- a/Open-ILS/xul/staff_client/server/cat/marcedit.js +++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js @@ -1181,7 +1181,7 @@ function marcControlfield (field) { { value : field.text(), class : 'plain marcEditableControlfield', name : 'CONTROL' + tagname, - oncontext : 'return false();', + context : 'clipboard', size : 50, maxlength : 50 } ) ); @@ -1517,7 +1517,7 @@ function getAuthorityContextMenu (target, sf) { if (!authority_tag_map[sf.parent().@tag]) { sf_popup.appendChild(createLabel( { value : $('catStrings').getString('staff.cat.marcedit.not_authority_field.label') } ) ); - target.setAttribute('context', menu_id); + target.setAttribute('context', 'clipboard'); return false; } diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.xul b/Open-ILS/xul/staff_client/server/cat/marcedit.xul index e72d37909e..1f96a3fc4d 100644 --- a/Open-ILS/xul/staff_client/server/cat/marcedit.xul +++ b/Open-ILS/xul/staff_client/server/cat/marcedit.xul @@ -70,105 +70,105 @@