|
|
@ -78523,7 +78523,8 @@ BI.ClearEditor = BI.inherit(BI.Widget, { |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
errorText: o.errorText, |
|
|
|
errorText: o.errorText, |
|
|
|
validationChecker: o.validationChecker, |
|
|
|
validationChecker: o.validationChecker, |
|
|
|
quitChecker: o.quitChecker |
|
|
|
quitChecker: o.quitChecker, |
|
|
|
|
|
|
|
value: o.value |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.clear = BI.createWidget({ |
|
|
|
this.clear = BI.createWidget({ |
|
|
|
type: "bi.icon_button", |
|
|
|
type: "bi.icon_button", |
|
|
@ -78607,7 +78608,11 @@ BI.ClearEditor = BI.inherit(BI.Widget, { |
|
|
|
self.fireEvent(BI.ClearEditor.EVENT_STOP); |
|
|
|
self.fireEvent(BI.ClearEditor.EVENT_STOP); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (BI.isKey(o.value)) { |
|
|
|
|
|
|
|
this.clear.visible(); |
|
|
|
|
|
|
|
} else { |
|
|
|
this.clear.invisible(); |
|
|
|
this.clear.invisible(); |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_checkClear: function () { |
|
|
|
_checkClear: function () { |
|
|
|