[open-ils-commits] r18267 - branches/rel_1_6/Open-ILS/xul/staff_client/chrome/content/OpenILS (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Oct 11 14:12:28 EDT 2010
Author: phasefx
Date: 2010-10-11 14:12:24 -0400 (Mon, 11 Oct 2010)
New Revision: 18267
Modified:
branches/rel_1_6/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js
Log:
fix Actions for this Record -> Add Volumes. backport was missing this
Modified: branches/rel_1_6/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js
===================================================================
--- branches/rel_1_6/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js 2010-10-11 17:30:38 UTC (rev 18266)
+++ branches/rel_1_6/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js 2010-10-11 18:12:24 UTC (rev 18267)
@@ -3,6 +3,9 @@
function ses(a) {
JSAN.use('OpenILS.data'); var data = new OpenILS.data(); data.init({'via':'stash'});
switch(a) {
+ case 'staff' : return data.list.au[0]; break;
+ case 'staff_id' : return data.list.au[0].id(); break;
+ case 'staff_usrname' : return data.list.au[0].usrname(); break;
case 'ws_ou' :
return data.list.au[0].ws_ou();
break;
More information about the open-ils-commits
mailing list