From: erickson Date: Mon, 15 Nov 2010 17:01:07 +0000 (+0000) Subject: make sure dojo.cookie is loaded before use; removed unnecessary import of dojoData X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ee82b6c60a85e1e73c2adda27249aba0e6bfc803;p=evergreen%2Fbjwebb.git make sure dojo.cookie is loaded before use; removed unnecessary import of dojoData git-svn-id: svn://svn.open-ils.org/ILS/trunk@18740 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/dojo/openils/I18N.js b/Open-ILS/web/js/dojo/openils/I18N.js index 120c395e7..ddbf1aea7 100644 --- a/Open-ILS/web/js/dojo/openils/I18N.js +++ b/Open-ILS/web/js/dojo/openils/I18N.js @@ -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, {}); diff --git a/Open-ILS/web/js/dojo/openils/widget/Searcher.js b/Open-ILS/web/js/dojo/openils/widget/Searcher.js index e66e2ec3d..896c0494f 100644 --- a/Open-ILS/web/js/dojo/openils/widget/Searcher.js +++ b/Open-ILS/web/js/dojo/openils/widget/Searcher.js @@ -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']);