[open-ils-commits] r17091 - trunk/Open-ILS/xul/staff_client/server/cat (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Aug 5 03:50:38 EDT 2010


Author: phasefx
Date: 2010-08-05 03:50:33 -0400 (Thu, 05 Aug 2010)
New Revision: 17091

Modified:
   trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js
Log:
the caption id was important after all, for keyboard navigation

Modified: trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js	2010-08-05 04:46:38 UTC (rev 17090)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js	2010-08-05 07:50:33 UTC (rev 17091)
@@ -1057,7 +1057,8 @@
                 }
                 if (typeof g.changed[fn] != 'undefined') groupbox.setAttribute('class','copy_editor_field_changed');
                 caption = document.createElement('caption'); groupbox.appendChild(caption);
-                caption.setAttribute('label',fn); 
+                caption.setAttribute('label',fn);
+                caption.setAttribute('id','caption_'+fn); // used for focus/keyboard navigation
                 vbox = document.createElement('vbox'); groupbox.appendChild(vbox); // main display widget goes here
                 grid = util.widgets.make_grid( [ { 'flex' : 1 }, {}, {} ] ); vbox.appendChild(grid);
                 grid.setAttribute('flex','1');



More information about the open-ils-commits mailing list