Closed Bug 737260 Opened 12 years ago Closed 12 years ago

Concurrent tabs preference doesn't update correctly

Categories

(SeaMonkey :: Session Restore, defect)

defect
Not set
normal

Tracking

(seamonkey2.10 affected, seamonkey2.11 affected)

RESOLVED FIXED
Tracking Status
seamonkey2.10 --- affected
seamonkey2.11 --- affected

People

(Reporter: neil, Assigned: neil)

References

Details

Attachments

(1 file)

I knew I had trouble getting the onselect and onchange events to update the preference window correctly and obviously when tweaking the effect for one preference value I overlooked that another possible value had stopped working.

This made the recent uplift so hopefully I have my tracking flags correct.
Attached patch Proposed patchSplinter Review
Instead of fiddling around with onchange and Startup I switched to onsyncfrom/topreference which are more reliable.

I got rid of onselect because it fires when I don't want it to. I used an onclick handler although that doesn't fire in some cases, and for some reason the keyboard accelerator doesn't change the selected radio the first time.

I also added some aria love which I had forgotten on the previous patch.
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #607375 - Flags: review?(iann_bugzilla)
Attachment #607375 - Flags: review?(iann_bugzilla) → review+
The strange thing I get when starting the prefs window is the following in the error console:
Error: document.getElementById("navigator_pane").ReadConcurrentTabs is not a function
Source File: chrome://global/content/bindings/preferences.xml
Line: 402
But using JS debugger it definitely does use it, do we still need the preference on the textbox?
Pushed changeset f548f391b86c to comm-central.

(In reply to Ian Neal from comment #2)
> The strange thing I get when starting the prefs window is the following in
> the error console:
> Error: document.getElementById("navigator_pane").ReadConcurrentTabs is not a
> function
> Source File: chrome://global/content/bindings/preferences.xml
> Line: 402
Strange; remind me to check my other builds when I update them next week.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Depends on: 868486
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: