[open-ils-commits] r11380 - in trunk/Open-ILS/xul/staff_client/server: cat locale/en-US
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Dec 2 20:53:38 EST 2008
Author: miker
Date: 2008-12-02 20:53:37 -0500 (Tue, 02 Dec 2008)
New Revision: 11380
Modified:
trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js
trunk/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties
Log:
add Insert Row to the tag context menu
Modified: trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js 2008-12-02 23:57:21 UTC (rev 11379)
+++ trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js 2008-12-03 01:53:37 UTC (rev 11380)
@@ -157,6 +157,17 @@
tag_menu.appendChild(
createMenuitem(
+ { label : $('catStrings').getString('staff.cat.marcedit.insert_row.label'),
+ oncommand :
+ 'var e = document.createEvent("KeyEvents");' +
+ 'e.initKeyEvent("keypress",1,1,null,1,0,1,0,13,0);' +
+ 'current_focus.inputField.dispatchEvent(e);'
+ }
+ )
+ );
+
+ tag_menu.appendChild(
+ createMenuitem(
{ label : $('catStrings').getString('staff.cat.marcedit.remove_row.label'),
oncommand :
'var e = document.createEvent("KeyEvents");' +
Modified: trunk/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties 2008-12-02 23:57:21 UTC (rev 11379)
+++ trunk/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties 2008-12-03 01:53:37 UTC (rev 11380)
@@ -223,6 +223,7 @@
staff.cat.marcedit.save.label=Save Record
staff.cat.marcedit.marcTag.LDR.label=MARC Leader
staff.cat.marcedit.add_row.label=Add Row
+staff.cat.marcedit.insert_row.label=Insert Row
staff.cat.marcedit.remove_row.label=Remove Row
staff.cat.marcedit.replace_006.label=Add/Replace 006
staff.cat.marcedit.replace_007.label=Add/Replace 007
More information about the open-ils-commits
mailing list