Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2016-05-09 10:32:39 +0300
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2016-05-09 10:32:39 +0300
commit372d86f58875b18eec11730abdbc3d43a875fccb (patch)
tree8b28dcee3bcf22c67233d1dc3e8c8b0b2c936837
parentbc9474336be953c1ffad602060aa3124786d02ac (diff)
Remove loading icon when data loaded
refs https://github.com/owncloud/core/pull/24491#issuecomment-217789787
-rw-r--r--js/editor.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/editor.js b/js/editor.js
index 61a7c8a..27682ba 100644
--- a/js/editor.js
+++ b/js/editor.js
@@ -295,6 +295,8 @@ var Files_Texteditor = {
document.title = file.name + ' - ' + OCA.Files_Texteditor.oldTitle;
// Load ace
$('#'+_self.editor).text(data);
+ // Remove loading
+ $('#editor_container').removeClass('icon-loading');
// Configure ace
_self.configureACE(file);
// Show the controls