Closed Bug 520770 Opened 15 years ago Closed 15 years ago

Select-All doesn't work in 3-pane tab

Categories

(Thunderbird :: Toolbars and Tabs, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0rc1

People

(Reporter: standard8, Assigned: standard8)

References

Details

(Keywords: regression)

Attachments

(1 file)

Attached patch The fixSplinter Review
Whilst testing other bugs, I just found out that select-all doesn't work in a 3-pane tab. It aborts saying that "aTab is undefined".

Bug 472076 separated out the calls to the controller so that it could override things in the mailTab code, but it did the separation wrong:

- In supportsCommand we get DefaultController.isCommandEnabled called. Which probably doesn't change much, but we should really call the right thing (which will be quicker as well).

- The doCommand function of the default controller takes the aTab as the argument, this is the missing bit that is causing select all to fail.

- I've also removed the window. as it doesn't actually add anything now mailTabs.js is its own file.
Attachment #404821 - Flags: review?(bienvenu)
I'll try this out.
Flags: blocking-thunderbird3+
Attachment #404821 - Flags: review?(bienvenu) → review+
Checked in: http://hg.mozilla.org/comm-central/rev/232a359f7c84

(and I forgot the a=blocking-tb3).
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: