[open-ils-commits] r15955 - trunk/Open-ILS/web/js/ui/default/acq/lineitem (senator)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Mar 24 14:53:42 EDT 2010


Author: senator
Date: 2010-03-24 14:53:38 -0400 (Wed, 24 Mar 2010)
New Revision: 15955

Modified:
   trunk/Open-ILS/web/js/ui/default/acq/lineitem/worksheet.js
Log:
Acq: minor fix to the worksheet UI

openils.Util is already included by js/ui/base.js, but what we do need to do
instead is load the localization string bundle.


Modified: trunk/Open-ILS/web/js/ui/default/acq/lineitem/worksheet.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/acq/lineitem/worksheet.js	2010-03-24 18:32:46 UTC (rev 15954)
+++ trunk/Open-ILS/web/js/ui/default/acq/lineitem/worksheet.js	2010-03-24 18:53:38 UTC (rev 15955)
@@ -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(



More information about the open-ils-commits mailing list