From: erickson Date: Fri, 17 Sep 2010 23:40:50 +0000 (+0000) Subject: load the right class in the on-the-fly IDL loader call X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e1a8865609d61264cd0950bdcb2dacd680b99481;p=evergreen%2Ftadl.git 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 --- 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;