Hi All,

Here are 2 small patches for the bugzilla-assistant.

--
Greetings,
Rob Snelders
>From 70a0477efcaf401642db916cb76acccb00bb6246 Mon Sep 17 00:00:00 2001
From: Rob Snelders <programm...@ertai.nl>
Date: Fri, 17 Aug 2012 00:03:50 +0200
Subject: [PATCH] Hides the username that is printed for testing

---
 bug/bug/bug.css |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bug/bug/bug.css b/bug/bug/bug.css
index a932f2a..f81aa9b 100644
--- a/bug/bug/bug.css
+++ b/bug/bug/bug.css
@@ -610,3 +610,7 @@ body {
     background: url('images/select-right.png') repeat-y top right;
     padding-right: 12px;
 }
+
+.username {
+    display: hidden;
+}
-- 
1.7.9.5

>From 1c1aa6cff807d54b1ea42997ac74428289334503 Mon Sep 17 00:00:00 2001
From: Rob Snelders <programm...@ertai.nl>
Date: Fri, 17 Aug 2012 00:07:06 +0200
Subject: [PATCH] Reset the error-message when submitting the bug

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

diff --git a/bug/bug/bug.js b/bug/bug/bug.js
index 0565d84..a0be19d 100644
--- a/bug/bug/bug.js
+++ b/bug/bug/bug.js
@@ -235,6 +235,7 @@
             var element = $('.state_submit');
             if(!element.hasClass('initialized')) {
                 var form = $('.submission_form form');
+                $.bug.error_clear();
                 form.attr('action', $.bug.url + '/post_bug.cgi');
                 form.submit(function() {
                     if($(element).hasClass('inprogress')) {
-- 
1.7.9.5

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to