[open-ils-commits] r12662 - trunk/Open-ILS/web/js/ui/default/acq/picklist (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Mar 24 17:27:41 EDT 2009
Author: erickson
Date: 2009-03-24 17:27:36 -0400 (Tue, 24 Mar 2009)
New Revision: 12662
Modified:
trunk/Open-ILS/web/js/ui/default/acq/picklist/upload.js
Log:
repaired limit perm args to autofieldwidget
Modified: trunk/Open-ILS/web/js/ui/default/acq/picklist/upload.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/acq/picklist/upload.js 2009-03-24 21:27:18 UTC (rev 12661)
+++ trunk/Open-ILS/web/js/ui/default/acq/picklist/upload.js 2009-03-24 21:27:36 UTC (rev 12662)
@@ -20,7 +20,7 @@
new openils.widget.AutoFieldWidget({
fmClass : 'acqpo',
fmField : 'provider',
- limitPerms : ['CREATE_PICKLIST'],
+ orgLimitPerms : ['CREATE_PICKLIST', 'CREATE_PURCHASE_ORDER'],
parentNode : dojo.byId('acq-pl-upload-provider'),
}).build(
function(w) { providerWidget = w }
@@ -29,7 +29,7 @@
new openils.widget.AutoFieldWidget({
fmClass : 'acqpo',
fmField : 'ordering_agency',
- limitPerms : ['CREATE_PURCHASE_ORDER'],
+ orgLimitPerms : ['CREATE_PICKLIST', 'CREATE_PURCHASE_ORDER'],
parentNode : dojo.byId('acq-pl-upload-agency'),
}).build(
function(w) { orderAgencyWidget = w }
More information about the open-ils-commits
mailing list