Closed
Bug 118576
Opened 23 years ago
Closed 23 years ago
JavaScript strict warnings in enter_bug.cgi
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
People
(Reporter: WeirdAl, Assigned: ddkilzer)
References
()
Details
Attachments
(1 file)
837 bytes,
patch
|
Details | Diff | Splinter Review |
Warning: function onclick does not always return a value Source Code: if (this.form.short_desc.value =='') { alert('Please enter a summary sentence for this bug.'); return false; } Line 513 of http://lxr.mozilla.org/mozilla/source/webtools/bugzilla/enter_bug.cgi Suggest editing the line to say: <INPUT TYPE=\"submit\" VALUE=\" Commit \" ONCLICK=\"if (this.form.short_desc.value =='') { alert('Please enter a summary sentence for this bug.'); return false; }; return true;\">
Assignee | ||
Comment 1•23 years ago
|
||
Patch described in poster's comments.
Assignee | ||
Updated•23 years ago
|
Assignee | ||
Comment 2•23 years ago
|
||
Taking bug since I posted a patch. This is a pretty trivial fix. Setting milestone to 2.18 (though fix is trivial enough for 2.16).
Assignee: myk → ddkilzer
Target Milestone: --- → Bugzilla 2.18
Assignee | ||
Comment 3•23 years ago
|
||
BTW, Alex, which browser reported this warning? A cut-n-paste of the USER_AGENT string from near the bottom ofthis web page will do: http://bugzilla.mozilla.org/enter_bug.cgi?product=Bugzilla Mozilla-0.9.6 for Linux doesn't complain about the JavaScript in question. Neither does Netsacpe Communicator 4.77 for Linux.
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•23 years ago
|
||
*** This bug has been marked as a duplicate of 95567 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 6•23 years ago
|
||
clearing target milestone on resolved non-FIXED bugs so they'll get re-triaged if they get reopened.
Target Milestone: Bugzilla 2.18 → ---
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
•