[open-ils-commits] r15220 - trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Dec 22 10:26:44 EST 2009
Author: phasefx
Date: 2009-12-22 10:26:41 -0500 (Tue, 22 Dec 2009)
New Revision: 15220
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js
Log:
more convenience from ses()
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-12-22 12:10:03 UTC (rev 15219)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js 2009-12-22 15:26:41 UTC (rev 15220)
@@ -18,6 +18,9 @@
case 'ws_ou' :
return data.list.au[0].ws_ou();
break;
+ case 'ws_ou_shortname' :
+ return data.hash.aou[ data.list.au[0].ws_ou() ].shortname();
+ break;
case 'authtime' :
return data.session.authtime;
break;
More information about the open-ils-commits
mailing list