update files

This commit is contained in:
nuintun
2015-11-23 22:23:20 +08:00
parent e1c9c15fc4
commit 84768cea6b
6 changed files with 37 additions and 25 deletions

View File

@@ -35,8 +35,10 @@ window.addEventListener('DOMContentLoaded', function (){
}
},
events: {
'change-active': function (index){
'change-active': function (index, setting){
this.activeIndex = index;
this.$broadcast('setting-toggle', setting);
},
'save-configure': function (){
ipc.send('app-configure', 'save', util.normalize(this.configure));