Merge pull request #15846 from owncloud/fix-missing-loading-indicator

Add missing loading indicator for enabled apps
This commit is contained in:
Lukas Reschke 2015-04-23 23:30:09 +02:00
commit 6fed28271b
1 changed files with 2 additions and 0 deletions

View File

@ -321,8 +321,10 @@ OC.Settings.Apps = OC.Settings.Apps || {
var img= $('<img class="app-icon"/>').attr({ src: entry.icon}); var img= $('<img class="app-icon"/>').attr({ src: entry.icon});
var a=$('<a></a>').attr('href', entry.href); var a=$('<a></a>').attr('href', entry.href);
var filename=$('<span></span>'); var filename=$('<span></span>');
var loading = $('<div class="icon-loading-dark"></div>').css('display', 'none');
filename.text(entry.name); filename.text(entry.name);
a.prepend(filename); a.prepend(filename);
a.prepend(loading);
a.prepend(img); a.prepend(img);
li.append(a); li.append(a);