[open-ils-commits] r8569 - branches/rel_1_2_1/Open-ILS/xul/staff_client/server/cat

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Feb 1 12:26:00 EST 2008


Author: phasefx
Date: 2008-02-01 11:58:13 -0500 (Fri, 01 Feb 2008)
New Revision: 8569

Modified:
   branches/rel_1_2_1/Open-ILS/xul/staff_client/server/cat/copy_editor.js
Log:
avoid an error for read-only mode

Modified: branches/rel_1_2_1/Open-ILS/xul/staff_client/server/cat/copy_editor.js
===================================================================
--- branches/rel_1_2_1/Open-ILS/xul/staff_client/server/cat/copy_editor.js	2008-02-01 14:37:30 UTC (rev 8568)
+++ branches/rel_1_2_1/Open-ILS/xul/staff_client/server/cat/copy_editor.js	2008-02-01 16:58:13 UTC (rev 8569)
@@ -1079,7 +1079,7 @@
             } catch(E) { alert(E); }
         }
     }
-    g.template_menu.value = g.template_menu.getAttribute('value');
+    if (g.template_menu) g.template_menu.value = g.template_menu.getAttribute('value');
 
 }
 



More information about the open-ils-commits mailing list