more convenience from ses()
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 22 Dec 2009 15:26:41 +0000 (15:26 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 22 Dec 2009 15:26:41 +0000 (15:26 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15220 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js

index c870368..aa06e10 100644 (file)
@@ -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;