Browse Source

update

master
windy 8 years ago
parent
commit
acff8e52f0
  1. 2
      bi/widget.js
  2. 2
      docs/widget.js
  3. 2
      src/widget/date/trigger.date.js

2
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);
}

2
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);
}

2
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);
}

Loading…
Cancel
Save