]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix empty 'more' apps navigation after installing an app 22184/head
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Sun, 31 May 2020 23:54:16 +0000 (01:54 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Tue, 11 Aug 2020 09:30:54 +0000 (09:30 +0000)
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
apps/settings/js/apps.js

index 70857a8f201795be486fe68e928eeffa02f8e260..a3c1650e445dab5cc91cd1bf06c6a7e0e4d80e5e 100644 (file)
@@ -42,11 +42,11 @@ OC.Settings.Apps = OC.Settings.Apps || {
                                                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);                                                      filename.text(entry.name);
+                                               filename.text(entry.name);
                                                a.prepend(loading);
+                                               a.prepend(filename);
                                                a.prepend(img);
                                                li.append(a);
-                                               li.append(filename);
 
                                                // add app icon to the navigation
                                                var previousElement = $('#navigation li[data-id=' + previousEntry.id + ']');
@@ -84,9 +84,9 @@ OC.Settings.Apps = OC.Settings.Apps || {
                                                var loading = $('<div class="icon-loading-dark"></div>').css('display', 'none');
                                                filename.text(entry.name);
                                                a.prepend(loading);
+                                               a.prepend(filename);
                                                a.prepend(img);
                                                li.append(a);
-                                               li.append(filename);
 
                                                // add app icon to the navigation
                                                var previousElement = $('#appmenu li[data-id=' + previousEntry.id + ']');