From ee82b6c60a85e1e73c2adda27249aba0e6bfc803 Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 15 Nov 2010 17:01:07 +0000 Subject: [PATCH] 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 --- Open-ILS/web/js/dojo/openils/I18N.js | 5 +++-- Open-ILS/web/js/dojo/openils/widget/Searcher.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Open-ILS/web/js/dojo/openils/I18N.js b/Open-ILS/web/js/dojo/openils/I18N.js index 120c395e78..ddbf1aea72 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 e66e2ec3d5..896c0494f2 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']); -- 2.11.0