[Libreoffice-commits] .: bug/bug

Loic Dachary loic at kemper.freedesktop.org
Thu Sep 22 03:47:23 PDT 2011


 bug/bug/bug.js |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 6c3b82de674b8659b5317325e55b3f541d52d711
Author: Loic Dachary <loic at dachary.org>
Date:   Thu Sep 22 12:47:10 2011 +0200

    move to the top of the page after submit so that the results are not missed even when the window height it not large enough

diff --git a/bug/bug/bug.js b/bug/bug/bug.js
index b65927e..c540157 100644
--- a/bug/bug/bug.js
+++ b/bug/bug/bug.js
@@ -183,6 +183,7 @@
                     var short_desc = $('.state_subcomponent .active_subcomponent .chosen').attr('data') + ': ' + $('.state_description .short').val();
                     var comment = $('.state_description .long').val();
                     $("body").css("cursor", "progress");
+                    $('html, body').animate({scrollTop: '0px'}, 300);
                     $.bug.ajax('POST', '/post_bug.cgi', {
                         product: 'LibreOffice',
                         bug_status: 'UNCONFIRMED',


More information about the Libreoffice-commits mailing list