error: fix error popup sent from main process

This commit is contained in:
bordun 2017-09-13 09:43:03 +02:00
parent 6f1c14ff84
commit 705a044dc4
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ module.exports = {
} else {
ipc.send('error',{title:'Error: invalid session file',text:'<p>'+error+'</p>'})
ipc.send('error', `Invalid session file (${error})`)
}
},

View file

@ -133,7 +133,7 @@ var callbacks = module.exports = {
},
error: function(data){
utils.createPopup('Error', data, true)
utils.createPopup(icon('warning') + '&nbsp;Error', data, true)
},
reloadCss: function(){