Merge pull request #22183 from nextcloud/backport/21173/stable19

[stable19] Fix empty 'more' apps navigation after installing an app
This commit is contained in:
Roeland Jago Douma 2020-08-11 20:25:55 +02:00 committed by GitHub
commit eded52eae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View 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 + ']');