update files

This commit is contained in:
Nuintun
2015-11-20 15:02:43 +08:00
parent 05a99b46ac
commit 09c9b8268e
10 changed files with 124 additions and 20 deletions

View File

@@ -157,7 +157,7 @@ AppConfigure.prototype = {
this.create();
ipc.on('app-configure', function (event, command){
ipc.on('app-configure', function (event, command, configure){
switch (command) {
case 'import':
context.import(function (configure){
@@ -185,11 +185,11 @@ AppConfigure.prototype = {
});
});
break;
case 'add':
context.save(function (configure){
}, function (configure){
case 'save':
context.save(configure, function (){
this.showMessageBox('保存成功!', { type: 'info' });
}, function (){
this.showMessageBox('保存失败!');
});
break;
}