made --stay-open work in GUI (#58)

This commit is contained in:
Micah Lee 2014-06-26 14:31:29 -04:00
parent c74e259fb4
commit 8fce3adeb5
3 changed files with 9 additions and 2 deletions

View file

@ -86,6 +86,10 @@ $(function(){
$('#filehash .label').html(onionshare.strings['sha1_checksum']+':');
$('#close-on-finish-wrapper label').html(onionshare.strings['close_on_finish']);
$('#loading .calculating').html(onionshare.strings['calculating_sha1']);
if(onionshare.stay_open) {
$('#close-on-finish').removeAttr('checked');
}
// after getting the initial info, start the onionshare server
$.ajax({