Bugzilla – Attachment 67876 Details for
Bug 55442
BUGZILLAASSISTANT: Impossible to submit a Bug - Bugzilla 4.2.3 incompatible?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
UNTESTED patch
fdo55442-UNTESTED.patch (text/plain), 1.25 KB, created by
Korrawit Pruegsanusak
on 2012-09-30 11:07:13 UTC
(
hide
)
Description:
UNTESTED patch
Filename:
MIME Type:
Creator:
Korrawit Pruegsanusak
Created:
2012-09-30 11:07:13 UTC
Size:
1.25 KB
patch
obsolete
>diff --git a/bug/bug/bug.js b/bug/bug/bug.js >index a0be19d..e22f7d7 100644 >--- a/bug/bug/bug.js >+++ b/bug/bug/bug.js >@@ -234,6 +234,12 @@ > state_submit: function() { > var element = $('.state_submit'); > if(!element.hasClass('initialized')) { >+ // prepare token fdo#55442 >+ var token = $.bug.ajax('GET', $.bug.url + '/enter_bug.cgi?product=LibreOffice&bug_status=UNCONFIRMED').pipe(function(data){ >+ return $.bug.lookup_result(data, >+ [/$^/], //this will match nothing, thanks http://stackoverflow.com/a/940840 >+ /<input type="hidden" name="token" value="([A-Za-z0-9]{10})">/); >+ }); > var form = $('.submission_form form'); > $.bug.error_clear(); > form.attr('action', $.bug.url + '/post_bug.cgi'); >@@ -252,6 +258,7 @@ > $('input[name="version"]', form).val(version); > $('input[name="short_desc"]', form).val(short_desc); > $('input[name="comment"]', form).val(comment); >+ $('input[name="token"]', form).val(token); > return true; > }); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 55442
:
67842
| 67876 |
67952