[open-ils-commits] r12837 - trunk/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:17 EDT 2009
Author: phasefx
Date: 2009-04-09 16:20:07 -0400 (Thu, 09 Apr 2009)
New Revision: 12837
Modified:
trunk/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: trunk/Open-ILS/xul/staff_client/chrome/content/util/network.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/util/network.js 2009-04-09 18:48:22 UTC (rev 12836)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/network.js 2009-04-09 20:20:07 UTC (rev 12837)
@@ -457,7 +457,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