[open-ils-commits] r12157 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Feb 12 11:33:27 EST 2009
Author: erickson
Date: 2009-02-12 11:33:20 -0500 (Thu, 12 Feb 2009)
New Revision: 12157
Modified:
trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
Log:
fixed wiget value accessor/mutator which resulted in values with embedded wiget objects (resulting in infinite recursion in js2JSON)
Modified: trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js 2009-02-12 06:31:32 UTC (rev 12156)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js 2009-02-12 16:33:20 UTC (rev 12157)
@@ -57,7 +57,7 @@
baseWidgetValue : function(value) {
var attr = (this.readOnly) ? 'content' : 'value';
if(arguments.length) this.widget.attr(attr, value);
- return this.widget.attr(attr, value);
+ return this.widget.attr(attr);
},
getDisplayString : function() {
More information about the open-ils-commits
mailing list