From: erickson Date: Mon, 17 Jan 2011 15:54:08 +0000 (+0000) Subject: default ordering-agency org unit to workstation org in PO create dialog X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=75c6c6fb3df7308906662e57bb56781c0cbe66a2;p=evergreen%2Fjoelewis.git default ordering-agency org unit to workstation org in PO create dialog git-svn-id: svn://svn.open-ils.org/ILS/trunk@19185 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/ui/default/acq/po/create.js b/Open-ILS/web/js/ui/default/acq/po/create.js index 2ce2ea21a7..181fc11da7 100644 --- a/Open-ILS/web/js/ui/default/acq/po/create.js +++ b/Open-ILS/web/js/ui/default/acq/po/create.js @@ -27,7 +27,8 @@ openils.Util.addOnLoad( "fieldOrder": ["ordering_agency", "provider"], "mode": "create", overrideWidgetArgs : { - provider : { dijitArgs : { store_options : { base_filter : { active :"t" } } } } + provider : { dijitArgs : { store_options : { base_filter : { active :"t" } } } }, + ordering_agency : { orgDefaultsToWs : true } }, "onSubmit": function(po) { fieldmapper.standardRequest(