[open-ils-commits] r9287 - branches/rel_1_2/Open-ILS/xul/staff_client/server/patron

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Apr 9 22:52:51 EDT 2008


Author: phasefx
Date: 2008-04-09 22:15:30 -0400 (Wed, 09 Apr 2008)
New Revision: 9287

Modified:
   branches/rel_1_2/Open-ILS/xul/staff_client/server/patron/user_edit.js
Log:
fix a fix.  typo/thinko

Modified: branches/rel_1_2/Open-ILS/xul/staff_client/server/patron/user_edit.js
===================================================================
--- branches/rel_1_2/Open-ILS/xul/staff_client/server/patron/user_edit.js	2008-04-09 21:02:01 UTC (rev 9286)
+++ branches/rel_1_2/Open-ILS/xul/staff_client/server/patron/user_edit.js	2008-04-10 02:15:30 UTC (rev 9287)
@@ -286,7 +286,7 @@
 
 function trim_ou_tree (tree, list) {
 	for (var i in tree) {
-		if (!tree) continue;
+		if (!tree[i]) continue;
 
 		var type = grep( function(x) {return x.id() == tree[i].ou_type()}, ou_type_list )[0];
 		if ( type && type.can_have_users() == 't' )



More information about the open-ils-commits mailing list