error: fix error popup sent from main process
This commit is contained in:
parent
6f1c14ff84
commit
705a044dc4
2 changed files with 2 additions and 2 deletions
|
|
@ -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})`)
|
||||
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ var callbacks = module.exports = {
|
|||
},
|
||||
|
||||
error: function(data){
|
||||
utils.createPopup('Error', data, true)
|
||||
utils.createPopup(icon('warning') + ' Error', data, true)
|
||||
},
|
||||
|
||||
reloadCss: function(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue