From 911c08184feca63bc0b92b9cd7745daef90b7b74 Mon Sep 17 00:00:00 2001 From: phasefx Date: Thu, 5 Aug 2010 07:50:33 +0000 Subject: [PATCH] the caption id was important after all, for keyboard navigation git-svn-id: svn://svn.open-ils.org/ILS/trunk@17091 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/copy_editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/cat/copy_editor.js b/Open-ILS/xul/staff_client/server/cat/copy_editor.js index 5a1e78006..a0a2cfc31 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.js @@ -1057,7 +1057,8 @@ g.render = function() { } 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'); -- 2.11.0