mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Control events are now bound on the page load rather than everytime the editor is loaded.
This commit is contained in:
parent
39d42fc62b
commit
93ed844015
1 changed files with 4 additions and 1 deletions
|
|
@ -134,7 +134,6 @@ function showFileEditor(dir,filename){
|
|||
window.aceEditor.setTheme("ace/theme/clouds");
|
||||
});
|
||||
});
|
||||
bindControlEvents();
|
||||
// End success
|
||||
}
|
||||
// End ajax
|
||||
|
|
@ -163,4 +162,8 @@ function hideFileEditor(){
|
|||
|
||||
$(window).resize(function() {
|
||||
setEditorSize();
|
||||
});
|
||||
|
||||
$(document).ready(function() {
|
||||
bindControlEvents();
|
||||
});
|
||||
Loading…
Reference in a new issue