function editorIsShown(){
// Not working as intended. Always returns true.
- if(window.aceEditor){
- return true;
- } else {
- return false;
- }
+ return is_editor_shown;
}
function updateSessionFileHash(path){
}
// End ajax
});
+ is_editor_shown = true;
}
}
$('.actions,#file_access_panel').fadeIn('slow');
$('table').fadeIn('slow');
});
+ is_editor_shown = false;
}
$(window).resize(function() {
setEditorSize();
});
-
+var is_editor_shown = false;
$(document).ready(function(){
if(typeof FileActions!=='undefined'){
FileActions.register('text','Edit','',function(filename){