Skip to content

Commit

Permalink
Merge pull request #173 from owncloud/fix-loading-icon
Browse files Browse the repository at this point in the history
Remove loading icon when data loaded
  • Loading branch information
Vincent Petry committed May 20, 2016
2 parents bc94743 + 372d86f commit 2d1a964
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d1a964

Please sign in to comment.