[open-ils-commits] r12838 - branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/util (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Apr 9 16:20:21 EDT 2009


Author: phasefx
Date: 2009-04-09 16:20:15 -0400 (Thu, 09 Apr 2009)
New Revision: 12838

Modified:
   branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/util/network.js
Log:
fix for nasty little copy/paste regression, trying to support null ilsevent's.  This was preventing Force this Action dialogs for multiple overridable events

Modified: branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/util/network.js
===================================================================
--- branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/util/network.js	2009-04-09 20:20:07 UTC (rev 12837)
+++ branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/util/network.js	2009-04-09 20:20:15 UTC (rev 12838)
@@ -437,7 +437,7 @@
 			} else {
 				var found_good = false; var found_bad = false;
 				for (var i = 0; i < result.length; i++) {
-					if ( (result[i].ilsevent != 'undefined') && (override_params.overridable_events.indexOf( result.ilsevent == null ? null : Number(result[i].ilsevent) ) != -1) ) {
+					if ( (result[i].ilsevent != 'undefined') && (override_params.overridable_events.indexOf( result[i].ilsevent == null ? null : Number(result[i].ilsevent) ) != -1) ) {
 						found_good = true;
 					} else {
 						found_bad = true;



More information about the open-ils-commits mailing list