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

RESOLVED FIXED

Status

www.mozilla.org
General
--
minor
RESOLVED FIXED
16 years ago
6 years ago

People

(Reporter: stephend@netscape.com (gone - use stephen.donner@gmail.com instead), Assigned: stephend@netscape.com (gone - use stephen.donner@gmail.com instead))

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments, 1 obsolete attachment)

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
Created attachment 74305 [details] [diff] [review]
Fix, with equality check, not assignment!
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

Comment 8

16 years ago
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.