Changeset 1551
- Timestamp:
- 2010-06-10 08:52:02 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/kauri-forms/kauri-forms-framework/src/main/kauri/static-{build}.key/kauri.forms/control.js
r1550 r1551 1371 1371 */ 1372 1372 Control.prototype.reset = function() { 1373 if(this.initial.value != undefined) 1373 // no need for setting wire value if it has not changed 1374 if( ! (this.value === this.initial.value && this.valueState == Control.STATE_INIT)) 1374 1375 this.setWireValue(this.initial.value, true); 1375 1376 this.valueState = Control.STATE_INIT; … … 1446 1447 this.originalValueSuppressedByNormalization = false; 1447 1448 value = this.normaliseValue(value); 1449 1448 1450 if (this.valueState == Control.STATE_INIT || !this.valueEquals(value) || ( this.valueState == Control.STATE_INVALID && this.value == undefined && value == undefined)) { // in case of change 1449 1451 this.value = value;
Note: See TracChangeset
for help on using the changeset viewer.