From acff8e52f06fe0911ef4459945144366cf7e76db Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Tue, 9 May 2017 16:52:11 +0800 Subject: [PATCH] update --- bi/widget.js | 2 +- docs/widget.js | 2 +- src/widget/date/trigger.date.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bi/widget.js b/bi/widget.js index 2c97d202d..c121e5049 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -4959,7 +4959,7 @@ BI.shortcut('bi.date_combo', BI.DateCombo);BI.DateTrigger = BI.inherit(BI.Trigge self.fireEvent(BI.DateTrigger.EVENT_ERROR); }); this.editor.on(BI.SignEditor.EVENT_CONFIRM, function () { - var value = self.editor.getState(); + var value = self.editor.getValue(); if (BI.isNotNull(value)) { self.editor.setState(value); } diff --git a/docs/widget.js b/docs/widget.js index 2c97d202d..c121e5049 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -4959,7 +4959,7 @@ BI.shortcut('bi.date_combo', BI.DateCombo);BI.DateTrigger = BI.inherit(BI.Trigge self.fireEvent(BI.DateTrigger.EVENT_ERROR); }); this.editor.on(BI.SignEditor.EVENT_CONFIRM, function () { - var value = self.editor.getState(); + var value = self.editor.getValue(); if (BI.isNotNull(value)) { self.editor.setState(value); } diff --git a/src/widget/date/trigger.date.js b/src/widget/date/trigger.date.js index 3a1aeb687..8d746bbd1 100644 --- a/src/widget/date/trigger.date.js +++ b/src/widget/date/trigger.date.js @@ -60,7 +60,7 @@ BI.DateTrigger = BI.inherit(BI.Trigger, { self.fireEvent(BI.DateTrigger.EVENT_ERROR); }); this.editor.on(BI.SignEditor.EVENT_CONFIRM, function () { - var value = self.editor.getState(); + var value = self.editor.getValue(); if (BI.isNotNull(value)) { self.editor.setState(value); }