[open-ils-commits] r16567 - trunk/Open-ILS/xul/staff_client/server/main (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Jun 2 18:46:02 EDT 2010


Author: phasefx
Date: 2010-06-02 18:46:02 -0400 (Wed, 02 Jun 2010)
New Revision: 16567

Modified:
   trunk/Open-ILS/xul/staff_client/server/main/ws_info.xul
Log:
s/perl/javascript/

Modified: trunk/Open-ILS/xul/staff_client/server/main/ws_info.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/main/ws_info.xul	2010-06-02 22:39:16 UTC (rev 16566)
+++ trunk/Open-ILS/xul/staff_client/server/main/ws_info.xul	2010-06-02 22:46:02 UTC (rev 16567)
@@ -99,7 +99,7 @@
             g.my_libs_ou_hash = {};
             g.my_deduped_libs = [];
             for (var i = 0; i < g.my_libs.length; i++) {
-                if (! defined g.my_libs_shortname_hash[ g.my_libs[i].id() ]) {
+                if (typeof g.my_libs_shortname_hash[ g.my_libs[i].id() ] == 'undefined') {
                     g.my_libs_shortname_hash[ g.my_libs[i].id() ] = g.my_libs[i].shortname();
                     g.my_libs_ou_hash[ g.my_libs[i].id() ] = function(o){return o;}(g.my_libs[i]);
                     g.my_deduped_libs.push( g.my_libs[i] );



More information about the open-ils-commits mailing list