mirror of https://github.com/sipwise/ngcp-csc.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.1 KiB
48 lines
1.1 KiB
Ext.define('NgcpCsc.view.pages.callforward.CallForwardTab', {
|
|
extend: 'Ext.tab.Panel',
|
|
|
|
xtype: 'cftab',
|
|
|
|
name: 'cfTab',
|
|
|
|
defaults: {
|
|
bodyPadding: 10,
|
|
scrollable: true
|
|
},
|
|
|
|
listeners: {
|
|
click: {
|
|
element: 'el',
|
|
fn: 'addOwnPhoneToEmptyOnline'
|
|
},
|
|
click: {
|
|
element: 'el',
|
|
fn: 'unmaskDestinationGrids',
|
|
delay: 200
|
|
}
|
|
},
|
|
|
|
_tabId: null,
|
|
|
|
_secondprefix: null,
|
|
|
|
initComponent: function () {
|
|
|
|
this.items = [{
|
|
title: Ngcp.csc.locales.callforward.from[localStorage.getItem('languageSelected')] + Ngcp.csc.locales.callforward.source_one[localStorage.getItem('languageSelected')],
|
|
id: this._tabId + '-tab-everybody',
|
|
items: [
|
|
Ext.create('NgcpCsc.view.pages.callforward.CallForwardMainForm', {
|
|
_isEverybody: true,
|
|
_firstprefix: this._firstPrefixes[0],
|
|
_secondprefix: this._secondprefix
|
|
|
|
})
|
|
]
|
|
}];
|
|
|
|
this.callParent();
|
|
}
|
|
|
|
});
|