[open-ils-commits] r17788 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Sep 17 19:40:51 EDT 2010
Author: erickson
Date: 2010-09-17 19:40:50 -0400 (Fri, 17 Sep 2010)
New Revision: 17788
Modified:
trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
Log:
load the right class in the on-the-fly IDL loader call
Modified: trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js 2010-09-17 23:26:55 UTC (rev 17787)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js 2010-09-17 23:40:50 UTC (rev 17788)
@@ -366,7 +366,7 @@
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;
More information about the open-ils-commits
mailing list