better autofielwidget debugging
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 12 May 2009 19:17:09 +0000 (19:17 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 12 May 2009 19:17:09 +0000 (19:17 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13147 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js

index e167a2c..b59f8ee 100644 (file)
@@ -41,7 +41,8 @@ if(!dojo._hasResource['openils.widget.AutoFieldWidget']) {
             }
 
             if(!this.idlField) 
-                throw new Error("AutoFieldWidget could not determine which field to render.  We need more information.");
+                throw new Error("AutoFieldWidget could not determine which field to render.  We need more information. fmClass=" + 
+                    this.fmClass + ' fmField=' + this.fmField + ' fmObject=' + js2JSON(this.fmObject));
 
             this.auth = openils.User.authtoken;
             if(!this.cache[this.auth]) {