Closed
Bug 512811
Opened 17 years ago
Closed 17 years ago
React to tab controller parameter change in bug 500506
Categories
(Calendar :: Lightning Only, defect)
Calendar
Lightning Only
Tracking
(Not tracked)
RESOLVED
FIXED
1.0b1
People
(Reporter: Fallen, Assigned: mschroeder)
References
Details
(Whiteboard: [needed beta][no l10n impact])
Attachments
(1 file)
|
2.56 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
The order of the parameters of the tab controller will be changed with bug 500506. We need to fix this in lightning code. Should be a trivial fix but needs to be done.
| Reporter | ||
Comment 1•17 years ago
|
||
This needs to be fixed for 1.0, but probably not for the beta.
Flags: blocking-calendar1.0+
Whiteboard: [not needed beta][no l10n impact]
| Assignee | ||
Comment 2•17 years ago
|
||
This should be fixed for beta!
Comment 3•17 years ago
|
||
Comment on attachment 399036 [details] [diff] [review]
Patch v1
>+ supportsCommand: function (aCommand, aTab) calendarController.supportsCommand(aCommand),
>+ isCommandEnabled: function (aCommand, aTab) calendarController.isCommandEnabled(aCommand),
>+ doCommand: function(aCommand, aTab) calendarController.doCommand(aCommand),
>+ onEvent: function(aEvent, aTab) calendarController.onEvent(aEvent)
You should probably just derive the containing tab object from calendarController, compare <http://mxr.mozilla.org/comm-central/source/suite/mailnews/tabmail.js?mark=554#547>.
| Reporter | ||
Comment 4•17 years ago
|
||
Comment on attachment 399036 [details] [diff] [review]
Patch v1
>+ supportsCommand: function (aCommand, aTab) calendarController.supportsCommand(aCommand),
>+ isCommandEnabled: function (aCommand, aTab) calendarController.isCommandEnabled(aCommand),
>+ doCommand: function(aCommand, aTab) calendarController.doCommand(aCommand),
>+ onEvent: function(aEvent, aTab) calendarController.onEvent(aEvent)
I wouldn't derive, since then we have a second controller instance and our controller does some operations we shouldn't have to do twice. This looks fine to me.
Aside from that, the TB code for this is post Tb3b3, so unless Tb3b4 is released before we release our b1, this shouldn't go into the beta.
r=philipp
Attachment #399036 -
Flags: review?(philipp) → review+
Comment 5•17 years ago
|
||
(In reply to comment #4)
> Aside from that, the TB code for this is post Tb3b3, so unless Tb3b4 is
> released before we release our b1, this shouldn't go into the beta.
If it is released before TB3 beta 4, then you probably want to ensure you limit lightning to just TB 3 beta 3.
If it is released after, then you want to ensure you limit lightning to TB 3 beta 4 and above...
| Reporter | ||
Comment 6•17 years ago
|
||
Ugh that of course sucks. In that case we probably want this for the beta. I was told b4 is targeted for the 22nd, which would fit quite good if we keep the plan. We should increase the minVersion to b4pre in that case.
Whiteboard: [not needed beta][no l10n impact] → [needed beta][no l10n impact]
| Assignee | ||
Comment 7•17 years ago
|
||
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/d928fb5c581f> (including increase of minVersion to 3.0b4pre)
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.0
| Reporter | ||
Comment 8•14 years ago
|
||
These bugs are likely targeted at Lightning 1.0b1, not Lightning 1.0. If this change was done in error, please adjust the target milestone to its correct value. To filter on this bugspam, you can use "lightning-10-target-move".
Target Milestone: 1.0 → 1.0b1
You need to log in
before you can comment on or make changes to this bug.
Description
•