Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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 <programming@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 <programming@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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.