[open-ils-commits] r11728 - trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Jan 2 15:09:35 EST 2009
Author: phasefx
Date: 2009-01-02 15:09:31 -0500 (Fri, 02 Jan 2009)
New Revision: 11728
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js
Log:
convenience method for returning ws_ou
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js 2009-01-02 19:53:38 UTC (rev 11727)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js 2009-01-02 20:09:31 UTC (rev 11728)
@@ -3,6 +3,9 @@
function ses(a) {
JSAN.use('OpenILS.data'); var data = new OpenILS.data(); data.init({'via':'stash'});
switch(a) {
+ case 'ws_ou' :
+ return data.list.au[0].ws_ou();
+ break;
case 'authtime' :
return data.session.authtime;
break;
More information about the open-ils-commits
mailing list