From 6afcb5add97f707f6ab842d78b0015f28f5bede9 Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 18 May 2009 17:46:01 +0000 Subject: [PATCH] import PermaCrud globally within this module git-svn-id: svn://svn.open-ils.org/ILS/trunk@13203 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js b/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js index b59f8ee72..3a6989447 100644 --- a/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js +++ b/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js @@ -3,6 +3,7 @@ if(!dojo._hasResource['openils.widget.AutoFieldWidget']) { dojo.require('openils.Util'); dojo.require('openils.User'); dojo.require('fieldmapper.IDL'); + dojo.require('openils.PermaCrud'); dojo.declare('openils.widget.AutoFieldWidget', null, { @@ -221,7 +222,6 @@ if(!dojo._hasResource['openils.widget.AutoFieldWidget']) { } // if those fail, fetch the linked object - dojo.require('openils.PermaCrud'); this.async = true; var self = this; new openils.PermaCrud().retrieve(lclass, this.widgetValue, { @@ -280,7 +280,6 @@ if(!dojo._hasResource['openils.widget.AutoFieldWidget']) { return this._buildCopyLocSelector(); - dojo.require('openils.PermaCrud'); dojo.require('dojo.data.ItemFileReadStore'); dojo.require('dijit.form.FilteringSelect'); -- 2.11.0