[open-ils-commits] r17092 - 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:40 EDT 2010


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

Modified:
   trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js
Log:
fix color highlighting for xulrunner 1.9.2

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 07:50:33 UTC (rev 17091)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js	2010-08-05 07:50:35 UTC (rev 17092)
@@ -1055,11 +1055,11 @@
                         groupbox.setAttribute(a,attr[a]);
                     }
                 }
-                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('id','caption_'+fn); // used for focus/keyboard navigation
                 vbox = document.createElement('vbox'); groupbox.appendChild(vbox); // main display widget goes here
+                if (typeof g.changed[fn] != 'undefined') { addCSSClass(vbox,'copy_editor_field_changed'); }
                 grid = util.widgets.make_grid( [ { 'flex' : 1 }, {}, {} ] ); vbox.appendChild(grid);
                 grid.setAttribute('flex','1');
                 rows = grid.lastChild;



More information about the open-ils-commits mailing list