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.
|
|
|
Ext.define('Rambox.store.ServicesList', {
|
|
|
|
extend: 'Ext.data.Store'
|
|
|
|
,alias: 'store.serviceslist'
|
|
|
|
|
|
|
|
,requires: [
|
|
|
|
'Ext.data.proxy.LocalStorage'
|
|
|
|
]
|
|
|
|
|
|
|
|
,model: 'Rambox.model.ServiceList'
|
|
|
|
|
|
|
|
,proxy: {
|
|
|
|
type: 'ajax',
|
|
|
|
url: 'https://us-central1-rambox-d1326.cloudfunctions.net/ceApps',
|
|
|
|
reader: {
|
|
|
|
type: 'json',
|
|
|
|
rootProperty: 'responseText'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
,listeners: {
|
|
|
|
load: function () {
|
|
|
|
Ext.get('spinner') ? Ext.get('spinner').destroy() : null;
|
|
|
|
Ext.get('background') ? Ext.get('background').destroy() : null;
|
|
|
|
this.add({
|
|
|
|
id: 'custom'
|
|
|
|
,logo: 'custom.png'
|
|
|
|
,name: '_Custom Service'
|
|
|
|
,description: locale['services[38]']
|
|
|
|
,url: '___'
|
|
|
|
,type: 'custom'
|
|
|
|
,allow_popups: true
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
,sorters: [{
|
|
|
|
property: 'name'
|
|
|
|
,direction: 'ASC'
|
|
|
|
}]
|
|
|
|
|
|
|
|
,autoLoad: true
|
|
|
|
,autoSync: true
|
|
|
|
,pageSize: 100000
|
|
|
|
});
|