|
|
|
@ -58,8 +58,9 @@ export class TextValueComboPopup extends Pane {
|
|
|
|
|
listeners: [ |
|
|
|
|
{ |
|
|
|
|
eventName: Controller.EVENT_CHANGE, |
|
|
|
|
action: (type, val, obj) => { |
|
|
|
|
this.fireEvent(Controller.EVENT_CHANGE, arguments); |
|
|
|
|
action: (...args) => { |
|
|
|
|
const [type, val, obj] = args; |
|
|
|
|
this.fireEvent(Controller.EVENT_CHANGE, args); |
|
|
|
|
if (type === Events.CLICK) { |
|
|
|
|
this.fireEvent(TextValueComboPopup.EVENT_CHANGE, val, obj); |
|
|
|
|
} |
|
|
|
@ -101,7 +102,7 @@ export class TextValueComboPopup extends Pane {
|
|
|
|
|
listeners: [ |
|
|
|
|
{ |
|
|
|
|
eventName: SelectList.EVENT_CHANGE, |
|
|
|
|
action(val) { |
|
|
|
|
action: (val) => { |
|
|
|
|
this.fireEvent(TextValueComboPopup.EVENT_CHANGE, val); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|