tab-bar, new-tabs: set ordinal after adding new tab to tab bar
commit8012a0f31ea59c9505868ad7e77a2a72a370c211
authorJohn Foerch <jjfoerch@earthlink.net>
Mon, 30 Jan 2012 20:29:09 +0000 (30 15:29 -0500)
committerJohn Foerch <jjfoerch@earthlink.net>
Mon, 30 Jan 2012 20:29:09 +0000 (30 15:29 -0500)
tree8d2b984a231369facfa976f35105c10ab09d71e4
parent9725a77611e777b09858102dcd4188e8b9982fe3
tab-bar, new-tabs: set ordinal after adding new tab to tab bar

This works around a bug in XULRunner 1.9.x whereby ordinals fail to be
applied in some cases.

A related, but slightly different issue is here:

  https://bugzilla.mozilla.org/show_bug.cgi?id=555987

It seems likely that the fix for the above bugzilla bug also fixed the bug
we are seeing with tab-bar and new-tabs, because it only happens in
XULRunner < 2.0.
modules/new-tabs.js
modules/tab-bar.js