|
|
@ -77562,11 +77562,15 @@ BI.NumberEditor = BI.inherit(BI.Widget, { |
|
|
|
errorText: o.errorText |
|
|
|
errorText: o.errorText |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.editor.on(BI.TextEditor.EVENT_CHANGE, function () { |
|
|
|
this.editor.on(BI.TextEditor.EVENT_CHANGE, function () { |
|
|
|
o.value = BI.parseFloat(this.getValue()); |
|
|
|
|
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CHANGE); |
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CHANGE); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () { |
|
|
|
this.editor.on(BI.TextEditor.EVENT_ERROR, function () { |
|
|
|
|
|
|
|
o.value = BI.parseFloat(this.getLastValidValue()); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
this.editor.on(BI.TextEditor.EVENT_VALID, function () { |
|
|
|
o.value = BI.parseFloat(this.getValue()); |
|
|
|
o.value = BI.parseFloat(this.getValue()); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () { |
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); |
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.topBtn = BI.createWidget({ |
|
|
|
this.topBtn = BI.createWidget({ |
|
|
|