fix editor js
This commit is contained in:
parent
58a781d9e4
commit
e979aa0c32
|
@ -58,7 +58,7 @@ function showControls(filename,writeperms){
|
|||
// Loads the control bar at the top.
|
||||
$('.actions,#file_action_panel').fadeOut('slow').promise().done(function() {
|
||||
// Load the new toolbar.
|
||||
var savebtnhtml;
|
||||
var editorcontrols;
|
||||
if(writeperms=="true"){
|
||||
var editorcontrols = '<button id="editor_save">'+t('files_texteditor','Save')+'</button><div class="separator"></div><label for="gotolineval">Go to line:</label><input type="text" id="gotolineval"><div class="separator"></div>';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue