Fixed problem closing the editor.

This commit is contained in:
Tom Needham 2011-11-07 22:45:26 +00:00
parent 059ab889bd
commit c33884779d

View file

@ -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');