From 23cc5381d37a0b39eb5feb0899b5520be44fb29d Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Tue, 3 Sep 2019 10:57:44 +0800 Subject: [PATCH] =?UTF-8?q?revert:=20numbereditor=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/2.0/fineui.ie.js | 17 +++++++++-------- dist/2.0/fineui.js | 17 +++++++++-------- dist/bundle.ie.js | 17 +++++++++-------- dist/bundle.js | 17 +++++++++-------- dist/fineui.ie.js | 17 +++++++++-------- dist/fineui.js | 17 +++++++++-------- dist/fineui_without_jquery_polyfill.js | 17 +++++++++-------- dist/widget.js | 17 +++++++++-------- .../dynamicdatetime.timeselect.js | 4 ++-- src/widget/numbereditor/number.editor.js | 13 +++++++------ 10 files changed, 81 insertions(+), 72 deletions(-) diff --git a/dist/2.0/fineui.ie.js b/dist/2.0/fineui.ie.js index eb9b6db9e..ae47cdd93 100644 --- a/dist/2.0/fineui.ie.js +++ b/dist/2.0/fineui.ie.js @@ -66173,8 +66173,8 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat } }, { eventName: BI.SignEditor.EVENT_CHANGE, - action: function (v) { - var value = self._autoSwitch(v, BI.DynamicDateTimeSelect.HOUR); + action: function () { + var value = self._autoSwitch(this.getValue(), BI.DynamicDateTimeSelect.HOUR); this.setValue(value); } }], @@ -77562,11 +77562,12 @@ BI.NumberEditor = BI.inherit(BI.Widget, { errorText: o.errorText }); this.editor.on(BI.TextEditor.EVENT_CHANGE, function () { - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, self.getLastChangedValue()); + o.value = BI.parseFloat(this.getValue()); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); }); this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () { o.value = BI.parseFloat(this.getValue()); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, self.getLastChangedValue()); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.topBtn = BI.createWidget({ type: "bi.icon_button", @@ -77576,8 +77577,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.bottomBtn = BI.createWidget({ type: "bi.icon_button", @@ -77587,8 +77588,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(-o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); BI.createWidget({ type: "bi.htape", diff --git a/dist/2.0/fineui.js b/dist/2.0/fineui.js index 44d678c8e..4a36be644 100644 --- a/dist/2.0/fineui.js +++ b/dist/2.0/fineui.js @@ -66577,8 +66577,8 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat } }, { eventName: BI.SignEditor.EVENT_CHANGE, - action: function (v) { - var value = self._autoSwitch(v, BI.DynamicDateTimeSelect.HOUR); + action: function () { + var value = self._autoSwitch(this.getValue(), BI.DynamicDateTimeSelect.HOUR); this.setValue(value); } }], @@ -77966,11 +77966,12 @@ BI.NumberEditor = BI.inherit(BI.Widget, { errorText: o.errorText }); this.editor.on(BI.TextEditor.EVENT_CHANGE, function () { - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, self.getLastChangedValue()); + o.value = BI.parseFloat(this.getValue()); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); }); this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () { o.value = BI.parseFloat(this.getValue()); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, self.getLastChangedValue()); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.topBtn = BI.createWidget({ type: "bi.icon_button", @@ -77980,8 +77981,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.bottomBtn = BI.createWidget({ type: "bi.icon_button", @@ -77991,8 +77992,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(-o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); BI.createWidget({ type: "bi.htape", diff --git a/dist/bundle.ie.js b/dist/bundle.ie.js index eb9b6db9e..ae47cdd93 100644 --- a/dist/bundle.ie.js +++ b/dist/bundle.ie.js @@ -66173,8 +66173,8 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat } }, { eventName: BI.SignEditor.EVENT_CHANGE, - action: function (v) { - var value = self._autoSwitch(v, BI.DynamicDateTimeSelect.HOUR); + action: function () { + var value = self._autoSwitch(this.getValue(), BI.DynamicDateTimeSelect.HOUR); this.setValue(value); } }], @@ -77562,11 +77562,12 @@ BI.NumberEditor = BI.inherit(BI.Widget, { errorText: o.errorText }); this.editor.on(BI.TextEditor.EVENT_CHANGE, function () { - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, self.getLastChangedValue()); + o.value = BI.parseFloat(this.getValue()); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); }); this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () { o.value = BI.parseFloat(this.getValue()); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, self.getLastChangedValue()); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.topBtn = BI.createWidget({ type: "bi.icon_button", @@ -77576,8 +77577,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.bottomBtn = BI.createWidget({ type: "bi.icon_button", @@ -77587,8 +77588,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(-o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); BI.createWidget({ type: "bi.htape", diff --git a/dist/bundle.js b/dist/bundle.js index 44d678c8e..4a36be644 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -66577,8 +66577,8 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat } }, { eventName: BI.SignEditor.EVENT_CHANGE, - action: function (v) { - var value = self._autoSwitch(v, BI.DynamicDateTimeSelect.HOUR); + action: function () { + var value = self._autoSwitch(this.getValue(), BI.DynamicDateTimeSelect.HOUR); this.setValue(value); } }], @@ -77966,11 +77966,12 @@ BI.NumberEditor = BI.inherit(BI.Widget, { errorText: o.errorText }); this.editor.on(BI.TextEditor.EVENT_CHANGE, function () { - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, self.getLastChangedValue()); + o.value = BI.parseFloat(this.getValue()); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); }); this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () { o.value = BI.parseFloat(this.getValue()); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, self.getLastChangedValue()); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.topBtn = BI.createWidget({ type: "bi.icon_button", @@ -77980,8 +77981,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.bottomBtn = BI.createWidget({ type: "bi.icon_button", @@ -77991,8 +77992,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(-o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); BI.createWidget({ type: "bi.htape", diff --git a/dist/fineui.ie.js b/dist/fineui.ie.js index 5a3beb77e..c8b78856d 100644 --- a/dist/fineui.ie.js +++ b/dist/fineui.ie.js @@ -66418,8 +66418,8 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat } }, { eventName: BI.SignEditor.EVENT_CHANGE, - action: function (v) { - var value = self._autoSwitch(v, BI.DynamicDateTimeSelect.HOUR); + action: function () { + var value = self._autoSwitch(this.getValue(), BI.DynamicDateTimeSelect.HOUR); this.setValue(value); } }], @@ -77807,11 +77807,12 @@ BI.NumberEditor = BI.inherit(BI.Widget, { errorText: o.errorText }); this.editor.on(BI.TextEditor.EVENT_CHANGE, function () { - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, self.getLastChangedValue()); + o.value = BI.parseFloat(this.getValue()); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); }); this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () { o.value = BI.parseFloat(this.getValue()); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, self.getLastChangedValue()); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.topBtn = BI.createWidget({ type: "bi.icon_button", @@ -77821,8 +77822,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.bottomBtn = BI.createWidget({ type: "bi.icon_button", @@ -77832,8 +77833,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(-o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); BI.createWidget({ type: "bi.htape", diff --git a/dist/fineui.js b/dist/fineui.js index 0e2f4b331..dacf70fdd 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -66822,8 +66822,8 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat } }, { eventName: BI.SignEditor.EVENT_CHANGE, - action: function (v) { - var value = self._autoSwitch(v, BI.DynamicDateTimeSelect.HOUR); + action: function () { + var value = self._autoSwitch(this.getValue(), BI.DynamicDateTimeSelect.HOUR); this.setValue(value); } }], @@ -78211,11 +78211,12 @@ BI.NumberEditor = BI.inherit(BI.Widget, { errorText: o.errorText }); this.editor.on(BI.TextEditor.EVENT_CHANGE, function () { - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, self.getLastChangedValue()); + o.value = BI.parseFloat(this.getValue()); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); }); this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () { o.value = BI.parseFloat(this.getValue()); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, self.getLastChangedValue()); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.topBtn = BI.createWidget({ type: "bi.icon_button", @@ -78225,8 +78226,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.bottomBtn = BI.createWidget({ type: "bi.icon_button", @@ -78236,8 +78237,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(-o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); BI.createWidget({ type: "bi.htape", diff --git a/dist/fineui_without_jquery_polyfill.js b/dist/fineui_without_jquery_polyfill.js index 9e518b751..f03a21d0a 100644 --- a/dist/fineui_without_jquery_polyfill.js +++ b/dist/fineui_without_jquery_polyfill.js @@ -49121,8 +49121,8 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat } }, { eventName: BI.SignEditor.EVENT_CHANGE, - action: function (v) { - var value = self._autoSwitch(v, BI.DynamicDateTimeSelect.HOUR); + action: function () { + var value = self._autoSwitch(this.getValue(), BI.DynamicDateTimeSelect.HOUR); this.setValue(value); } }], @@ -60510,11 +60510,12 @@ BI.NumberEditor = BI.inherit(BI.Widget, { errorText: o.errorText }); this.editor.on(BI.TextEditor.EVENT_CHANGE, function () { - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, self.getLastChangedValue()); + o.value = BI.parseFloat(this.getValue()); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); }); this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () { o.value = BI.parseFloat(this.getValue()); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, self.getLastChangedValue()); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.topBtn = BI.createWidget({ type: "bi.icon_button", @@ -60524,8 +60525,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.bottomBtn = BI.createWidget({ type: "bi.icon_button", @@ -60535,8 +60536,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(-o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); BI.createWidget({ type: "bi.htape", diff --git a/dist/widget.js b/dist/widget.js index 17c6813ec..70e9d3980 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -4232,8 +4232,8 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat } }, { eventName: BI.SignEditor.EVENT_CHANGE, - action: function (v) { - var value = self._autoSwitch(v, BI.DynamicDateTimeSelect.HOUR); + action: function () { + var value = self._autoSwitch(this.getValue(), BI.DynamicDateTimeSelect.HOUR); this.setValue(value); } }], @@ -15621,11 +15621,12 @@ BI.NumberEditor = BI.inherit(BI.Widget, { errorText: o.errorText }); this.editor.on(BI.TextEditor.EVENT_CHANGE, function () { - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, self.getLastChangedValue()); + o.value = BI.parseFloat(this.getValue()); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); }); this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () { o.value = BI.parseFloat(this.getValue()); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, self.getLastChangedValue()); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.topBtn = BI.createWidget({ type: "bi.icon_button", @@ -15635,8 +15636,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.bottomBtn = BI.createWidget({ type: "bi.icon_button", @@ -15646,8 +15647,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(-o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); BI.createWidget({ type: "bi.htape", diff --git a/src/widget/dynamicdatetime/dynamicdatetime.timeselect.js b/src/widget/dynamicdatetime/dynamicdatetime.timeselect.js index a0959db2e..dde68f6d9 100644 --- a/src/widget/dynamicdatetime/dynamicdatetime.timeselect.js +++ b/src/widget/dynamicdatetime/dynamicdatetime.timeselect.js @@ -35,8 +35,8 @@ BI.DynamicDateTimeSelect = BI.inherit(BI.Widget, { } }, { eventName: BI.SignEditor.EVENT_CHANGE, - action: function (v) { - var value = self._autoSwitch(v, BI.DynamicDateTimeSelect.HOUR); + action: function () { + var value = self._autoSwitch(this.getValue(), BI.DynamicDateTimeSelect.HOUR); this.setValue(value); } }], diff --git a/src/widget/numbereditor/number.editor.js b/src/widget/numbereditor/number.editor.js index 8d0519178..9a2a17629 100644 --- a/src/widget/numbereditor/number.editor.js +++ b/src/widget/numbereditor/number.editor.js @@ -31,11 +31,12 @@ BI.NumberEditor = BI.inherit(BI.Widget, { errorText: o.errorText }); this.editor.on(BI.TextEditor.EVENT_CHANGE, function () { - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, self.getLastChangedValue()); + o.value = BI.parseFloat(this.getValue()); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); }); this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () { o.value = BI.parseFloat(this.getValue()); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, self.getLastChangedValue()); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.topBtn = BI.createWidget({ type: "bi.icon_button", @@ -45,8 +46,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); this.bottomBtn = BI.createWidget({ type: "bi.icon_button", @@ -56,8 +57,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { }); this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () { self._finetuning(-o.step); - self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); - self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); + self.fireEvent(BI.NumberEditor.EVENT_CHANGE); + self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); }); BI.createWidget({ type: "bi.htape",