Fire onFinishChange if onChange isn't set. This allows 'revert' to function in that case.

This commit is contained in:
Z Snow 2016-08-17 14:02:14 +10:00
parent 8f0eba8ade
commit c42e55363d

View File

@ -105,6 +105,9 @@ define([
if (this.__onChange) {
this.__onChange.call(this, newValue);
}
else if (this.__onFinishChange) {
this.__onFinishChange.call(this, newValue);
}
this.updateDisplay();
return this;
},