зеркало из https://github.com/mozilla/pjs.git
Bug 370742 tabbox cleanup (Cv1-TK). p=Serge Gautherie <sgautherie.bz@free.fr>,r=mano.
This commit is contained in:
Родитель
ea2fd39286
Коммит
607ab5be2d
|
@ -106,9 +106,7 @@
|
|||
onget="return this.tabs ? this.tabs.selectedItem : null;">
|
||||
<setter>
|
||||
<![CDATA[
|
||||
if (!val)
|
||||
return val;
|
||||
if (this.tabs)
|
||||
if (val && this.tabs)
|
||||
this.tabs.selectedItem = val;
|
||||
return val;
|
||||
]]>
|
||||
|
@ -119,9 +117,7 @@
|
|||
onget="return this.tabpanels ? this.tabpanels.selectedPanel : null;">
|
||||
<setter>
|
||||
<![CDATA[
|
||||
if (!val)
|
||||
return val;
|
||||
if (this.tabpanels)
|
||||
if (val && this.tabpanels)
|
||||
this.tabpanels.selectedPanel = val;
|
||||
return val;
|
||||
]]>
|
||||
|
@ -627,7 +623,7 @@
|
|||
</property>
|
||||
|
||||
<property name="selected" readonly="true"
|
||||
onget="return (this.getAttribute('selected') == 'true')"/>
|
||||
onget="return this.getAttribute('selected') == 'true';"/>
|
||||
|
||||
<property name="_selected">
|
||||
<setter>
|
||||
|
|
Загрузка…
Ссылка в новой задаче