[open-ils-commits] r15200 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Dec 18 16:29:45 EST 2009
Author: erickson
Date: 2009-12-18 16:29:40 -0500 (Fri, 18 Dec 2009)
New Revision: 15200
Modified:
trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
Log:
only set the value on a pre-defined widget when no value has been provided
Modified: trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js 2009-12-18 20:59:38 UTC (rev 15199)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js 2009-12-18 21:29:40 UTC (rev 15200)
@@ -146,7 +146,8 @@
// core widget provided for us, attach and move on
if(this.parentNode) // may already be in the "right" place
this.parentNode.appendChild(this.widget.domNode);
- this._widgetLoaded();
+ if(this.widget.attr('value') == null)
+ this._widgetLoaded();
return;
}
More information about the open-ils-commits
mailing list