mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 377683, return -1 when no tabs in tabbox.selectedIndex, r=neil
This commit is contained in:
parent
189c81ff08
commit
4f36ab1610
@ -91,7 +91,7 @@
|
||||
</property>
|
||||
|
||||
<property name="selectedIndex"
|
||||
onget="return this.tabs ? this.tabs.selectedIndex : null;">
|
||||
onget="return this.tabs ? this.tabs.selectedIndex : -1;">
|
||||
<setter>
|
||||
<![CDATA[
|
||||
if (this.tabs)
|
||||
|
Loading…
Reference in New Issue
Block a user