From 7a9daa99d1e801620affb38bf78a7323a59ed908 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Wed, 7 Aug 2013 21:53:53 +0200 Subject: [PATCH] scroll the app navigation down so the newly added app is seen --- settings/js/apps.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/settings/js/apps.js b/settings/js/apps.js index 66606afad8..545d005eff 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -154,6 +154,8 @@ OC.Settings.Apps = OC.Settings.Apps || { li.append(a); // prepend the new app before the 'More apps' function $('#apps-management').before(li); + // scroll the app navigation down so the newly added app is seen + $('#navigation').animate({ scrollTop: $('#apps').height() }, 'slow'); if (!SVGSupport() && entry.icon.match(/\.svg$/i)) { $(img).addClass('svg'); replaceSVG();