[open-ils-commits] r18268 - branches/rel_1_6_1/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:14:08 EDT 2010


Author: phasefx
Date: 2010-10-11 14:14:04 -0400 (Mon, 11 Oct 2010)
New Revision: 18268

Modified:
   branches/rel_1_6_1/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_1/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js
===================================================================
--- branches/rel_1_6_1/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js	2010-10-11 18:12:24 UTC (rev 18267)
+++ branches/rel_1_6_1/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js	2010-10-11 18:14:04 UTC (rev 18268)
@@ -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