From 995c239da16b6ea736e3868ec3cd6a9d1b8f7011 Mon Sep 17 00:00:00 2001 From: erickson Date: Sat, 10 May 2008 01:26:59 +0000 Subject: [PATCH] Removed the large general dojo import set from base.html. now, each page/lib needs to manage those imports. git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@9551 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/dojo/openils/acq/Fund.js | 1 + Open-ILS/web/js/dojo/openils/acq/FundingSource.js | 1 + Open-ILS/web/js/dojo/openils/acq/Provider.js | 1 + .../web/oilsweb/oilsweb/templates/oils/base.html | 24 ++++++++-------------- .../acq/financial/list_funding_sources.html | 7 ++++++- .../oils/default/acq/financial/list_funds.html | 9 +++++--- .../oils/default/acq/financial/list_providers.html | 8 ++++++-- .../oils/default/acq/financial/view_fund.html | 3 +++ .../default/acq/financial/view_funding_source.html | 3 +++ .../oils/default/acq/picklist/bib_search.html | 6 ++++-- 10 files changed, 39 insertions(+), 24 deletions(-) diff --git a/Open-ILS/web/js/dojo/openils/acq/Fund.js b/Open-ILS/web/js/dojo/openils/acq/Fund.js index d4715aa81a..351f226d44 100644 --- a/Open-ILS/web/js/dojo/openils/acq/Fund.js +++ b/Open-ILS/web/js/dojo/openils/acq/Fund.js @@ -18,6 +18,7 @@ if(!dojo._hasResource['openils.acq.Fund']) { dojo._hasResource['openils.acq.Fund'] = true; dojo.provide('openils.acq.Fund'); dojo.require('fieldmapper.Fieldmapper'); +dojo.require('fieldmapper.dojoData'); /** Declare the Fund class with dojo */ dojo.declare('openils.acq.Fund', null, { diff --git a/Open-ILS/web/js/dojo/openils/acq/FundingSource.js b/Open-ILS/web/js/dojo/openils/acq/FundingSource.js index 11790c1f54..d5cf3f6653 100644 --- a/Open-ILS/web/js/dojo/openils/acq/FundingSource.js +++ b/Open-ILS/web/js/dojo/openils/acq/FundingSource.js @@ -18,6 +18,7 @@ if(!dojo._hasResource['openils.acq.FundingSource']) { dojo._hasResource['openils.acq.FundingSource'] = true; dojo.provide('openils.acq.FundingSource'); dojo.require('fieldmapper.Fieldmapper'); +dojo.require('fieldmapper.dojoData'); /** Declare the FundingSource class with dojo */ dojo.declare('openils.acq.FundingSource', null, { diff --git a/Open-ILS/web/js/dojo/openils/acq/Provider.js b/Open-ILS/web/js/dojo/openils/acq/Provider.js index a13bd22ac3..1d015b242c 100644 --- a/Open-ILS/web/js/dojo/openils/acq/Provider.js +++ b/Open-ILS/web/js/dojo/openils/acq/Provider.js @@ -18,6 +18,7 @@ if(!dojo._hasResource['openils.acq.Provider']) { dojo._hasResource['openils.acq.Provider'] = true; dojo.provide('openils.acq.Provider'); dojo.require('fieldmapper.Fieldmapper'); +dojo.require('fieldmapper.dojoData'); /** Declare the Provider class with dojo */ dojo.declare('openils.acq.Provider', null, { diff --git a/Open-ILS/web/oilsweb/oilsweb/templates/oils/base.html b/Open-ILS/web/oilsweb/oilsweb/templates/oils/base.html index 7e37598df5..72987a6d1d 100644 --- a/Open-ILS/web/oilsweb/oilsweb/templates/oils/base.html +++ b/Open-ILS/web/oilsweb/oilsweb/templates/oils/base.html @@ -38,25 +38,17 @@ - diff --git a/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/list_funding_sources.html b/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/list_funding_sources.html index 2e0dbf76b7..79c28249f9 100644 --- a/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/list_funding_sources.html +++ b/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/list_funding_sources.html @@ -7,13 +7,18 @@
${_('Funding Sources')}
+ + +
diff --git a/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_fund.html b/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_fund.html index dc9b1bab83..ecc148fee0 100644 --- a/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_fund.html +++ b/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_fund.html @@ -7,6 +7,9 @@ dojo.require("dijit.Dialog"); dojo.require('dijit.layout.TabContainer'); dojo.require('dijit.layout.ContentPane'); + dojo.require('dojox.grid.Grid'); + + dojo.require("fieldmapper.OrgUtils"); dojo.require('openils.acq.Fund'); dojo.require('openils.acq.FundingSource'); dojo.require('openils.Event'); diff --git a/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_source.html b/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_source.html index a6a4804ae6..6436075aa8 100644 --- a/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_source.html +++ b/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_source.html @@ -11,6 +11,9 @@ dojo.require("dijit.form.FilteringSelect"); dojo.require("dijit.form.Textarea"); dojo.require("dijit.form.CurrencyTextBox"); + dojo.require('dojox.grid.Grid'); + + dojo.require("fieldmapper.OrgUtils"); dojo.require('openils.acq.FundingSource'); dojo.require('openils.acq.Fund'); dojo.require('openils.Event'); diff --git a/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/bib_search.html b/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/bib_search.html index 8669af36e5..e27917ccf4 100644 --- a/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/bib_search.html +++ b/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/bib_search.html @@ -12,8 +12,9 @@
${_('Search Sources')}
-
-- 2.11.0