Closed
Bug 62463
Opened 24 years ago
Closed 24 years ago
Bugzilla helper "Search Bugzilla" broken.
Categories
(Bugzilla :: Bugzilla-General, defect, P3)
Bugzilla
Bugzilla-General
Tracking
()
RESOLVED
FIXED
Bugzilla old
People
(Reporter: paul, Assigned: gerv)
References
()
Details
If on step 2 of the Bugzilla helper you type in some text to search for in
bugzilla, then hit enter, the form submits itself to the same page which is
rather useless.
The desired action for the form is only undertaken if the user clicks on the
search button.
Could this be fixed by adding:
onSubmit="SearchForBugs(this.form.keywords.value,this.form.searchLong)"
to the <form> element?
Or something.
Updated•24 years ago
|
Assignee: tara → gervase.markham
OS: Linux → All
Hardware: PC → All
Comment 1•24 years ago
|
||
Bugzilla Helper -> gerv
Assignee | ||
Comment 2•24 years ago
|
||
I've tried this before, but with onChange(). onSubmit() seems much more sane :-)
It seems to work, in Mozilla, except it keeps putting the new window to the
back... I can't get it to work in IE, though :-( I'll need help here...
Currently I'm trying <form name=query
action:"http://bugzilla.mozilla.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGN
ED&bug_status=REOPENED&bug_status=UNCONFIRMED"
onSubmit="SearchForBugs(this.keywords.value,this.searchLong)">
but I've tried many variations.
Gerv
Updated•24 years ago
|
Component: Bugzilla → Bugzilla Helper
Assignee | ||
Comment 3•24 years ago
|
||
mcgarry@tig.com.au - can you help me out here?
Gerv
Reporter | ||
Comment 4•24 years ago
|
||
Yes, I'm sure I can. I will save a copy of the bugzilla helper page locally and
hack it until it works the way I think it should in a cross browser fashion.
I'm away for a few days, but after that, we should be rocking.
Assignee | ||
Comment 5•24 years ago
|
||
mcgarry@tig.com.au - any joy? :-)
Gerv
Reporter | ||
Comment 6•24 years ago
|
||
Righto, I've changed the form element to:
<form name=query action=""
onSubmit="SearchForBugs(this.keywords.value,this.searchLong);return false;">
and the search button element to:
<input type=submit value=Search>
The return false is the key bit I think, as it stops the page reloading, which
was probably bringing it to the front in IE.
Tested in
Linux NS4.72, Moz Nightly, Opera 5b8
Windows IE5 and IE4 (by bc and Ksozez on irc)
Result viewable here:
http://homepages.tig.com.au/~mcgarry/bughelper/bugzilla-helper.html
Assignee | ||
Comment 7•24 years ago
|
||
You da man :-) I'll check this out properly later.
Gerv
Assignee | ||
Comment 8•24 years ago
|
||
Checked in. Many, many thanks :-)
Gerv
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 9•22 years ago
|
||
Webtools/Bugzilla Helper is being retired.
Component: Bugzilla Helper → Bugzilla-General
Product: Webtools → Bugzilla
Target Milestone: --- → Bugzilla old
Version: other → unspecified
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•