Closed
Bug 481936
Opened 17 years ago
Closed 17 years ago
Need to add beta versions to JavaScript build arrays
Categories
(www.mozilla.org :: General, defect)
www.mozilla.org
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: clouserw, Assigned: clouserw)
References
Details
Attachments
(1 file)
|
4.07 KB,
patch
|
reed
:
review+
|
Details | Diff | Splinter Review |
Bug 481036 wants to add a locale-detecting button to the beta download page. To do that we've got to put the betas in the JS array (which was temporary code to begin with...)
To use the patch just change writeDownloadItems("fx") to writeDownloadItems("fxbeta") on the page.
Attachment #365984 -
Flags: review?(reed)
Updated•17 years ago
|
Attachment #365984 -
Flags: review?(reed) → review-
Comment 1•17 years ago
|
||
Comment on attachment 365984 [details] [diff] [review]
add jsbeta keys
> $_newest_thunderbird = $_thunderbirdDetails->getNewestVersionForLocale($locale);
>- $_oldest_thunderbird = $_thunderbirdDetails->getOldestVersionForLocale($locale);
>+ $_beta_thunderbird = $_thunderbirdDetails->getOldestVersionForLocale($locale);
>+ $_oldest_thunderbird = $_thunderbirdDetails->getDevelVersionForLocale($locale);
These are backwards and in wrong order. Should be:
$_oldest_thunderbird = $_thunderbirdDetails->getOldestVersionForLocale($locale);
$_beta_thunderbird = $_thunderbirdDetails->getDevelVersionForLocale($locale);
getDevelVersionForLocaleFromBuildArray(), getNewestVersionForLocaleFromBuildArray(), and getOldestVersionForLocaleFromBuildArray() in productDetails.class.php seems a bit too Firefox-centric. If you're serious about supporting Thunderbird with this, this code will need fixing. If not, then I guess it's ok for now.
| Assignee | ||
Comment 2•17 years ago
|
||
I can switch that.
Honestly, I'd like to see all Thunderbird stuff go somewhere else and be supported by the Messaging team. That may be pie in the sky though.
Comment 3•17 years ago
|
||
Comment on attachment 365984 [details] [diff] [review]
add jsbeta keys
Ok, r=me as long as you fix it.
Attachment #365984 -
Flags: review- → review+
Updated•17 years ago
|
Assignee: nobody → clouserw
| Assignee | ||
Comment 4•17 years ago
|
||
thanks, r22974
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Component: www.mozilla.org/firefox → www.mozilla.org
Updated•13 years ago
|
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.
Description
•