Closed Bug 658541 Opened 13 years ago Closed 13 years ago

Generalize some more hard coded Tinderbox URLs

Categories

(Tree Management Graveyard :: TBPL, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mstange, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
Strictly speaking the AddCommentUI._submitURL removal belongs in bug 601743,
but meh
Attachment #533982 - Flags: review?(arpad.borsos)
Comment on attachment 533982 [details] [diff] [review]
patch

Review of attachment 533982 [details] [diff] [review]:
-----------------------------------------------------------------

::: js/AddCommentUI.js
@@ -12,3 @@
>  
>    init: function AddCommentUI_init(submitURL) {
> -    this._submitURL = submitURL;

That var is still used: http://hg.mozilla.org/users/mstange_themasta.com/tinderboxpushlog/file/8c1153a543a5/js/AddCommentUI.js#l329
I don’t see it replaced in this patch!
Attachment #533982 - Flags: review?(arpad.borsos) → review-
Comment on attachment 533982 [details] [diff] [review]
patch

Review of attachment 533982 [details] [diff] [review]:
-----------------------------------------------------------------

Oh sorry I wasn’t paying too much attention on your comment. Of course, on top of that patch, it is unused, right!
Attachment #533982 - Flags: review- → review+
Comment on attachment 533982 [details] [diff] [review]
patch

Review of attachment 533982 [details] [diff] [review]:
-----------------------------------------------------------------

::: js/AddCommentUI.js
@@ +98,5 @@
>          bugsSubmitData[suggestion.id] = {
>            header: suggestion.signature,
>            log: suggestion.log,
>            email: email.replace("@", "%"),
> +          logLink: machineResult.briefLogURL

Note to self: do something to make sure that this is an absolute URL
Attached patch v2Splinter Review
This adds absoluteBaseURL and absoluteBriefLogURL.
Attachment #533982 - Attachment is obsolete: true
Attachment #536564 - Flags: review?(arpad.borsos)
Comment on attachment 536564 [details] [diff] [review]
v2

Review of attachment 536564 [details] [diff] [review]:
-----------------------------------------------------------------
Attachment #536564 - Flags: review?(arpad.borsos) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Depends on: 748848
Product: Webtools → Tree Management
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: