[open-ils-commits] r12862 - in trunk/Open-ILS/xul/staff_client/server: cat locale/en-US (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Apr 13 23:20:21 EDT 2009


Author: dbs
Date: 2009-04-13 23:20:19 -0400 (Mon, 13 Apr 2009)
New Revision: 12862

Modified:
   trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js
   trunk/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties
Log:
Patch to fix "insert subfield" shortcut key conflict in Mac client

Thanks to Alexander O'Neill <aoneill at upei.ca> for this patch


Modified: trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js	2009-04-14 03:19:03 UTC (rev 12861)
+++ trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js	2009-04-14 03:20:19 UTC (rev 12862)
@@ -356,7 +356,7 @@
 		else element.setChildren( box.value );
 
 		if (element.localName() != 'controlfield') {
-			if (event.charCode == 100 && event.ctrlKey) { // ctrl+d
+			if ((event.charCode == 100 || event.charCode == 105) && event.ctrlKey) { // ctrl+d or ctrl+i
 
 				var index_sf, target, move_data;
 				if (element.localName() == 'subfield') {

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	2009-04-14 03:19:03 UTC (rev 12861)
+++ trunk/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties	2009-04-14 03:20:19 UTC (rev 12862)
@@ -214,7 +214,7 @@
 staff.cat.copy_summary.not_cataloged=Not Cataloged
 staff.cat.marcedit.help.add_row=Add Row: CTRL+Enter
 staff.cat.marcedit.help.insert_row=Insert Row: CTRL+Shift+Enter
-staff.cat.marcedit.help.add_subfield=Add Subfield: CTRL+D
+staff.cat.marcedit.help.add_subfield=Add Subfield: CTRL+D (CTRL+I on Mac OS X)
 staff.cat.marcedit.help.remove_row=Remove Row: CTRL+Del
 staff.cat.marcedit.help.remove_subfield=Remove Subfield: SHIFT+Del
 staff.cat.marcedit.help.replace_006=Create/Replace 006: CTRL+F6



More information about the open-ils-commits mailing list