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