]> source.dussan.org Git - nextcloud-server.git/commitdiff
prepend the new app before the 'More apps' function
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 7 Aug 2013 19:53:25 +0000 (21:53 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 7 Aug 2013 19:53:25 +0000 (21:53 +0200)
settings/js/apps.js

index 0540d9b1c58227d9d12e151766678101d93b0441..66606afad800c42bb79783704ddfc2632fc1ff5b 100644 (file)
@@ -152,7 +152,8 @@ OC.Settings.Apps = OC.Settings.Apps || {
                                                a.prepend(filename);
                                                a.prepend(img);
                                                li.append(a);
-                                               container.append(li);
+                                               // prepend the new app before the 'More apps' function
+                                               $('#apps-management').before(li);
                                                if (!SVGSupport() && entry.icon.match(/\.svg$/i)) {
                                                        $(img).addClass('svg');
                                                        replaceSVG();