[open-ils-commits] r13147 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue May 12 15:17:13 EDT 2009


Author: erickson
Date: 2009-05-12 15:17:09 -0400 (Tue, 12 May 2009)
New Revision: 13147

Modified:
   trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
Log:
better autofielwidget debugging

Modified: trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js	2009-05-12 19:16:12 UTC (rev 13146)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js	2009-05-12 19:17:09 UTC (rev 13147)
@@ -41,7 +41,8 @@
             }
 
             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]) {



More information about the open-ils-commits mailing list