/admin/plugins: If a user installs sth scroll up to the loading indicator

pull/1672/head
Marcel Klehr 2013-03-26 19:54:23 +01:00
parent 4edb3b7ab3
commit 806926d0f6
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ $(document).ready(function () {
show: function(plugin, msg) { show: function(plugin, msg) {
$('#installed-plugins .'+plugin+' .progress').show() $('#installed-plugins .'+plugin+' .progress').show()
$('#installed-plugins .'+plugin+' .progress .message').text(msg) $('#installed-plugins .'+plugin+' .progress .message').text(msg)
$(window).scrollTop(0)
}, },
hide: function(plugin) { hide: function(plugin) {
$('#installed-plugins .'+plugin+' .progress').hide() $('#installed-plugins .'+plugin+' .progress').hide()