Fixed problem closing the editor.
This commit is contained in:
parent
059ab889bd
commit
c33884779d
1 changed files with 4 additions and 2 deletions
|
@ -73,7 +73,9 @@ function updateSessionFileHash(path){
|
|||
if(jsondata.status=='failure'){
|
||||
alert('Failed to update session file hash.');
|
||||
}
|
||||
}, "json");}
|
||||
},
|
||||
"json");
|
||||
}
|
||||
|
||||
function doFileSave(){
|
||||
if(is_editor_shown){
|
||||
|
@ -166,7 +168,7 @@ function showFileEditor(dir,filename){
|
|||
}
|
||||
|
||||
function hideFileEditor(){
|
||||
if(!is_editor_shown){
|
||||
if(is_editor_shown){
|
||||
$('#editor').attr('editorshown','false');
|
||||
// Fade out controls
|
||||
$('#editor_close').fadeOut('slow');
|
||||
|
|
Loading…
Reference in a new issue