From e1a8865609d61264cd0950bdcb2dacd680b99481 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 17 Sep 2010 23:40:50 +0000 Subject: [PATCH] load the right class in the on-the-fly IDL loader call git-svn-id: svn://svn.open-ils.org/ILS/trunk@17788 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js b/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js index 1fc77a07e8..e6ec7c9173 100644 --- a/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js +++ b/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js @@ -366,7 +366,7 @@ if(!dojo._hasResource['openils.widget.AutoFieldWidget']) { var linkClass = this.idlField['class']; if(this.idlField.reltype != 'has_a') return false; if(!fieldmapper.IDL.fmclasses[linkClass]) // class neglected by AutoIDL - fieldmapper.IDL.load([this.fmClass]); + fieldmapper.IDL.load([linkClass]); if(!fieldmapper.IDL.fmclasses[linkClass].permacrud) return false; if(!fieldmapper.IDL.fmclasses[linkClass].permacrud.retrieve) return false; -- 2.11.0