Skip to content
Snippets Groups Projects
Commit 31d50288 authored by Jan-Christoph Borchardt's avatar Jan-Christoph Borchardt
Browse files

draw attention to the newly added app entry by flashing it twice

parent 7a9daa99
No related branches found
No related tags found
No related merge requests found
......@@ -156,6 +156,9 @@ OC.Settings.Apps = OC.Settings.Apps || {
$('#apps-management').before(li);
// scroll the app navigation down so the newly added app is seen
$('#navigation').animate({ scrollTop: $('#apps').height() }, 'slow');
// draw attention to the newly added app entry by flashing it twice
container.children('li[data-id="'+entry.id+'"]').animate({opacity:.3}).animate({opacity:1}).animate({opacity:.3}).animate({opacity:1});
if (!SVGSupport() && entry.icon.match(/\.svg$/i)) {
$(img).addClass('svg');
replaceSVG();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment