[open-ils-commits] r17952 - trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Sep 24 01:48:43 EDT 2010


Author: phasefx
Date: 2010-09-24 01:48:39 -0400 (Fri, 24 Sep 2010)
New Revision: 17952

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js
Log:
this call returns an array; fixes surprise stat cats in patron display


Modified: trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js	2010-09-24 04:46:25 UTC (rev 17951)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js	2010-09-24 05:48:39 UTC (rev 17952)
@@ -186,6 +186,8 @@
                 break;
                 case 'actsc':
                     found = obj.network.simple_request('FM_ACTSC_RETRIEVE_VIA_PCRUD',[ ses(), { 'id' : { '=' : value } }]);
+                    if (typeof found.ilsevent != 'undefined') throw(found);
+                    found = found[0];
                 break;
                 default: return undefined; break;
             }



More information about the open-ils-commits mailing list