make sure dojo.cookie is loaded before use; removed unnecessary import of dojoData
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 15 Nov 2010 17:01:07 +0000 (17:01 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 15 Nov 2010 17:01:07 +0000 (17:01 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18740 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/openils/I18N.js
Open-ILS/web/js/dojo/openils/widget/Searcher.js

index 120c395..ddbf1ae 100644 (file)
@@ -19,9 +19,10 @@ if(!dojo._hasResource["openils.I18N"]) {
 
     dojo._hasResource["openils.I18N"] = true;
     dojo.provide("openils.I18N");
-    dojo.require("fieldmapper.dojoData");
-    dojo.require("DojoSRF");
+       dojo.require("dojo.cookie");
        dojo.require("dojo.data.ItemFileWriteStore");
+    dojo.require("DojoSRF");
+    dojo.require("fieldmapper.Fieldmapper");
 
     dojo.declare('openils.I18N', null, {});
 
index e66e2ec..896c049 100644 (file)
@@ -21,7 +21,6 @@ if(!dojo._hasResource["openils.widget.Searcher"]) {
 
     dojo.require("fieldmapper.AutoIDL");
     dojo.require("openils.I18N");
-    dojo.require("fieldmapper.dojoData");
     dojo.require("DojoSRF");
     dojo.require("dojo.data.ItemFileReadStore");
     dojo.require("dijit._Widget");
@@ -29,6 +28,7 @@ if(!dojo._hasResource["openils.widget.Searcher"]) {
     dojo.require("dijit.form.Button");
     dojo.require("dijit.form.TextBox");
     dojo.require("dijit.form.FilteringSelect");
+    dojo.require("dojo.cookie");
     dojo.requireLocalization("openils.widget", "Searcher");
 
     fieldmapper.IDL.load(['cmf','cmc','cmsa']);