From 7ba68219340071f11eb7d7cbad10111383e5d684 Mon Sep 17 00:00:00 2001 From: phasefx Date: Tue, 22 Dec 2009 15:26:41 +0000 Subject: [PATCH] more convenience from ses() git-svn-id: svn://svn.open-ils.org/ILS/trunk@15220 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../xul/staff_client/chrome/content/OpenILS/global_util.js | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.43.2