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