Closed Bug 131116 Opened 22 years ago Closed 22 years ago

Add check for self-builds to eliminate 'The Mozilla build you are using is older than three weeks' message.

Categories

(www.mozilla.org :: General, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stephend, Assigned: stephend)

References

()

Details

Attachments

(2 files, 1 obsolete file)

Summary: Add check for self-builds to eliminate 'The Mozilla build you are using
is older than three weeks' message.

Self-admittingly, my JS style sucks, but I really don't see a need for a
switch/case clause here.

My fix just detects if the user has 10 zeros (strings, not ints) and then bails
out of the rest of the check with a return statement.
Comment on attachment 74304 [details] [diff] [review]
Fix

Yeah, I suck.  Check for equality, not commence on assignment!
Attachment #74304 - Attachment is obsolete: true
Comment on attachment 74305 [details] [diff] [review]
Fix, with equality check, not assignment!

r=glazman (I am unable to see the checkbox in the attachment management window)
Comment on attachment 74306 [details] [diff] [review]
Same patch, cvs diff -u

please insert some spaces around the ==...

do that and sr=ben@netscape.com
for reference you can't use return outside of a function.
Product: mozilla.org → Websites
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: