|
|
@ -19706,6 +19706,7 @@ BI.Input = BI.inherit(BI.Single, { |
|
|
|
self._isEditing = false; |
|
|
|
self._isEditing = false; |
|
|
|
self._start = false; |
|
|
|
self._start = false; |
|
|
|
if (self.isValid()) { |
|
|
|
if (self.isValid()) { |
|
|
|
|
|
|
|
self._lastValidValue = self.getValue(); |
|
|
|
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CONFIRM, self.getValue(), self); |
|
|
|
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CONFIRM, self.getValue(), self); |
|
|
|
self.fireEvent(BI.Input.EVENT_CONFIRM); |
|
|
|
self.fireEvent(BI.Input.EVENT_CONFIRM); |
|
|
|
} |
|
|
|
} |
|
|
@ -19845,7 +19846,7 @@ BI.Input = BI.inherit(BI.Single, { |
|
|
|
this._checkValidationOnValueChange(); |
|
|
|
this._checkValidationOnValueChange(); |
|
|
|
this._defaultState(); |
|
|
|
this._defaultState(); |
|
|
|
if (this.isValid()) { |
|
|
|
if (this.isValid()) { |
|
|
|
this._lastSubmitValue = this.getValue(); |
|
|
|
this._lastValidValue = this._lastSubmitValue = this.getValue(); |
|
|
|
} |
|
|
|
} |
|
|
|
}, this)); |
|
|
|
}, this)); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -19865,7 +19866,6 @@ BI.Input = BI.inherit(BI.Single, { |
|
|
|
_setValid: function () { |
|
|
|
_setValid: function () { |
|
|
|
BI.Input.superclass._setValid.apply(this, arguments); |
|
|
|
BI.Input.superclass._setValid.apply(this, arguments); |
|
|
|
if (this.isValid()) { |
|
|
|
if (this.isValid()) { |
|
|
|
this._lastValidValue = this.getValue(); |
|
|
|
|
|
|
|
this.element.removeClass("bi-input-error"); |
|
|
|
this.element.removeClass("bi-input-error"); |
|
|
|
this.fireEvent(BI.Input.EVENT_VALID, BI.trim(this.getValue()), this); |
|
|
|
this.fireEvent(BI.Input.EVENT_VALID, BI.trim(this.getValue()), this); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|