[Libreoffice-commits] .: bug/bug bug/bug.xhtml
Loic Dachary
loic at kemper.freedesktop.org
Thu Oct 20 02:58:59 PDT 2011
bug/bug.xhtml | 14 +++++++++-----
bug/bug/bug.js | 1 +
2 files changed, 10 insertions(+), 5 deletions(-)
New commits:
commit 68701097f194b730ff4082bf7be81f10ed81808f
Author: Loic Dachary <loic at dachary.org>
Date: Thu Oct 20 11:58:41 2011 +0200
hide the submission form using visibility: hidden instead of display: none so that the feedback does not need scrolling.
diff --git a/bug/bug.xhtml b/bug/bug.xhtml
index 534053e..415f2eb 100644
--- a/bug/bug.xhtml
+++ b/bug/bug.xhtml
@@ -205,13 +205,17 @@ Platform (if different from the browser):
<div class="bug"></div>
</div>
- <div class="state_success">
- <p>The bug report has been successfully submitted.</p>
- <p>You can edit it or add attachments using <a class="bug">the corresponding bugzilla page</a>.</p>
- </div>
-
</div>
+ </div>
+
+ <div class="state_success">
+ <p>The bug report has been successfully submitted.</p>
+ <p>You can edit it or add attachments using <a class="bug">the corresponding bugzilla page</a>.</p>
+ </div>
+
+ <div class="submission">
+
<div class="state state_subcomponent state_duplicates">
Related bug reports
<div class="related_bugs"></div>
diff --git a/bug/bug/bug.js b/bug/bug/bug.js
index 0e367f0..dad6af5 100644
--- a/bug/bug/bug.js
+++ b/bug/bug/bug.js
@@ -252,6 +252,7 @@
state_success: function() {
$('.state_submit').hide();
+ $('.submission').css('visibility', 'hidden');
var element = $('.state_success');
var bug = $('.state_submit .bug').text();
$('.bug', element).attr('href', $.bug.url + '/show_bug.cgi?id=' + bug);
More information about the Libreoffice-commits
mailing list