Acq: minor fix to the worksheet UI
authorsenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 24 Mar 2010 18:53:38 +0000 (18:53 +0000)
committersenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 24 Mar 2010 18:53:38 +0000 (18:53 +0000)
openils.Util is already included by js/ui/base.js, but what we do need to do
instead is load the localization string bundle.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@15955 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/ui/default/acq/lineitem/worksheet.js

index c9eacd4..273bd11 100644 (file)
@@ -1,4 +1,5 @@
-dojo.require("openils.Util");
+dojo.requireLocalization("openils.acq", "acq");
+var localeStrings = dojo.i18n.getLocalization("openils.acq", "acq");
 
 function load() {
     fieldmapper.standardRequest(