|
|
|
@ -136,17 +136,26 @@ export class DriverSelector extends BI.Widget {
|
|
|
|
|
}, |
|
|
|
|
}, { |
|
|
|
|
el: { |
|
|
|
|
type: BI.Button.xtype, |
|
|
|
|
type: 'dec.connection.driver.entry', |
|
|
|
|
ref: (_ref: Button) => { |
|
|
|
|
this.driverManageEntry = _ref; |
|
|
|
|
}, |
|
|
|
|
el: { |
|
|
|
|
type: BI.Button.xtype, |
|
|
|
|
level: 'ignore', |
|
|
|
|
text: BI.i18nText('Dec-Dcm_Create_New_Driver'), |
|
|
|
|
}, |
|
|
|
|
from: '.dec-dcm', |
|
|
|
|
invisible: !this.model.driverManageEntryVisible, |
|
|
|
|
handler: () => { |
|
|
|
|
this.createDriverManagerLayer(); |
|
|
|
|
listeners: [ |
|
|
|
|
{ |
|
|
|
|
eventName: 'EVENT_CLOSE', |
|
|
|
|
action: () => { |
|
|
|
|
this.store.initDriverClassList(BI.emptyFn); |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}; |
|
|
|
|