From 8bde9df9e9c44cc84c230f2e8dcf16415b5aab82 Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 24 Sep 2010 02:36:55 +0000 Subject: [PATCH] We're starting to get events where ilsevent == empty string now, not just null or a number. git-svn-id: svn://svn.open-ils.org/ILS/trunk@17948 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/util/network.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/util/network.js b/Open-ILS/xul/staff_client/chrome/content/util/network.js index 4ed7cb5de9..5688f11173 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/network.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/network.js @@ -490,7 +490,7 @@ util.network.prototype = { if ( (typeof result.ilsevent != 'undefined') && ( - (override_params.overridable_events.indexOf( result.ilsevent == null ? null : Number(result.ilsevent) ) != -1) || + (override_params.overridable_events.indexOf( result.ilsevent == null || result.ilsevent == '' ? null : Number(result.ilsevent) ) != -1) || (override_params.overridable_events.indexOf( result.textcode ) != -1) ) ) { @@ -501,7 +501,7 @@ util.network.prototype = { if ( (result[i].ilsevent != 'undefined') && ( - (override_params.overridable_events.indexOf( result[i].ilsevent == null ? null : Number(result[i].ilsevent) ) != -1) || + (override_params.overridable_events.indexOf( result[i].ilsevent == null || result.ilsevent == '' ? null : Number(result[i].ilsevent) ) != -1) || (override_params.overridable_events.indexOf( result[i].textcode ) != -1) ) ) { -- 2.11.0