summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-23 21:39:59 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-23 21:40:51 +0200
commit62bac7de910f06d6af4e8a7d46106aa32808f4a1 (patch)
treee69df604a0041a37851b654515787b6ef718c016
parenta672e9d5563998205923b3b388208bb4b8242048 (diff)
downloadnextcloud-server-62bac7de910f06d6af4e8a7d46106aa32808f4a1.tar.gz
nextcloud-server-62bac7de910f06d6af4e8a7d46106aa32808f4a1.zip
Add missing loading indicator for enabled apps
* happened when an app gets activated, because the new appended HTML doesn't contain the loading image * fixes #15806
-rw-r--r--settings/js/apps.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 1bd7ffdf790..58a0a31ccd8 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -321,8 +321,10 @@ OC.Settings.Apps = OC.Settings.Apps || {
var img= $('<img class="app-icon"/>').attr({ src: entry.icon});
var a=$('<a></a>').attr('href', entry.href);
var filename=$('<span></span>');
+ var loading = $('<div class="icon-loading-dark"></div>').css('display', 'none');
filename.text(entry.name);
a.prepend(filename);
+ a.prepend(loading);
a.prepend(img);
li.append(a);