/admin/plugins: If a user installs sth scroll up to the loading indicator
parent
4edb3b7ab3
commit
806926d0f6
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue