whatsappicloudtweetdeckhipchattelegramhangoutsslackgmailskypefacebook-workplaceoutlookemailmicrosoft-teamsdiscordmessengercustom-servicesmacoslinuxwindowsinbox
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.
18 lines
372 B
18 lines
372 B
9 years ago
|
Ext.define('Rambox.view.preferences.PreferencesController', {
|
||
|
extend: 'Ext.app.ViewController'
|
||
|
,alias: 'controller.preferences-preferences'
|
||
|
|
||
|
,cancel: function( btn ) {
|
||
|
var me = this;
|
||
|
|
||
|
me.getView().close();
|
||
|
}
|
||
|
|
||
|
,save: function( btn ) {
|
||
|
var me = this;
|
||
|
|
||
|
ipc.send('setConfig', me.getView().down('form').getForm().getFieldValues());
|
||
|
me.getView().close();
|
||
|
}
|
||
|
});
|