diff --git a/src/widget/editor/editor.search.js b/src/widget/editor/editor.search.js index 14f8cb5f4..8f27127e9 100644 --- a/src/widget/editor/editor.search.js +++ b/src/widget/editor/editor.search.js @@ -34,7 +34,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, { type: "bi.icon_button", stopEvent: true, cls: "close-font", - invisible: BI.isKey(o.value) + invisible: !BI.isKey(o.value) }); this.clear.on(BI.IconButton.EVENT_CHANGE, function () { self.setValue("");