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

New commits:
commit 6c3b82de674b8659b5317325e55b3f541d52d711
Author: Loic Dachary <l...@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',
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to