scroll the app navigation down so the newly added app is seen

remotes/origin/stable6
Jan-Christoph Borchardt 12 years ago
parent 775f33cc1b
commit 7a9daa99d1
  1. 2
      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();

Loading…
Cancel
Save