minor fixes

- fixed broken sessionRemoveFromHistory method call
- added error when session file is not found
- generic ipc bindings in GUI mode
This commit is contained in:
bordun 2016-02-25 09:50:07 +01:00
parent 5b75eb777a
commit 32696a7d46
2 changed files with 106 additions and 122 deletions

View file

@ -42,7 +42,7 @@ ipc.on('sessionList',function(event,data){
})
$('#lobby a span').click(function(e){
e.stopPropagation()
ipc.send('removeSessionFromHistory',$(this).parent().data('session'))
ipc.send('sessionRemoveFromHistory',$(this).parent().data('session'))
$(this).parents('li').hide()
})
$('#lobby .browse').click(function(e){