From 62bac7de910f06d6af4e8a7d46106aa32808f4a1 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 23 Apr 2015 21:39:59 +0200 Subject: [PATCH] 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 --- settings/js/apps.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/settings/js/apps.js b/settings/js/apps.js index 1bd7ffdf79..58a0a31ccd 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -321,8 +321,10 @@ OC.Settings.Apps = OC.Settings.Apps || { var img= $('').attr({ src: entry.icon}); var a=$('').attr('href', entry.href); var filename=$(''); + var loading = $('
').css('display', 'none'); filename.text(entry.name); a.prepend(filename); + a.prepend(loading); a.prepend(img); li.append(a);