From: phasefx Date: Tue, 22 Dec 2009 15:26:41 +0000 (+0000) Subject: more convenience from ses() X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7ba68219340071f11eb7d7cbad10111383e5d684;p=evergreen%2Ftadl.git more convenience from ses() git-svn-id: svn://svn.open-ils.org/ILS/trunk@15220 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js b/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js index c87036889e..aa06e10343 100644 --- a/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js +++ b/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js @@ -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;