|
|
@ -134,7 +134,7 @@ export class Searcher extends Widget { |
|
|
|
this.popupView = createWidget(popup, { |
|
|
|
this.popupView = createWidget(popup, { |
|
|
|
type: SearcherView.xtype, |
|
|
|
type: SearcherView.xtype, |
|
|
|
chooseType, |
|
|
|
chooseType, |
|
|
|
}); |
|
|
|
}, this); |
|
|
|
this.popupView.on(Controller.EVENT_CHANGE, (type, value, obj, ...args) => { |
|
|
|
this.popupView.on(Controller.EVENT_CHANGE, (type, value, obj, ...args) => { |
|
|
|
this.fireEvent(Controller.EVENT_CHANGE, type, value, obj, ...args); |
|
|
|
this.fireEvent(Controller.EVENT_CHANGE, type, value, obj, ...args); |
|
|
|
if (type === Events.CLICK) { |
|
|
|
if (type === Events.CLICK) { |
|
|
|