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.
40 lines
1.1 KiB
40 lines
1.1 KiB
Ext.define('NgcpCsc.view.pages.callforward.always.Always', {
|
|
extend: 'NgcpCsc.view.pages.callforward.CallForward',
|
|
|
|
xtype: 'always',
|
|
|
|
ui: 'cf-mainform',
|
|
|
|
viewModel: 'callforward',
|
|
|
|
initComponent: function() {
|
|
var cfInitialStore = Ext.create('NgcpCsc.store.CallForward',{
|
|
storeId: 'CallForwardAlways',
|
|
_type: 'always',
|
|
autoLoad: true,
|
|
listeners: {
|
|
load: function(store, recs) {
|
|
this.fireEvent('cfStoreLoaded', this, recs[0]);
|
|
}
|
|
}
|
|
});
|
|
|
|
this.items = [{
|
|
userCls: Ext.os.is.Desktop ? 'big-820' : 'small-100',
|
|
xtype: 'core-container',
|
|
items: [{
|
|
xtype: 'panel',
|
|
width: '100%',
|
|
title: Ngcp.csc.locales.callforward.for_calling_parties[localStorage.getItem('languageSelected')]
|
|
}, {
|
|
xtype: 'cftab',
|
|
_tabId: 'always',
|
|
_firstPrefixes: ['everybody-', 'listA-', 'listB-'],
|
|
_secondprefix: 'always-'
|
|
}]
|
|
}];
|
|
this.callParent();
|
|
}
|
|
|
|
});
|