[Project_owners] this.view has no properties

Pawel Chmielowski prefiks at civ.pl
Thu Dec 29 19:10:02 EST 2005


Eric H. Jung napisał(a):
> Hi,
> 
> I have a couple <tree/> elements in my extension which I sometimes need
> to hide. When I write this code:
> 
> <vbox style="display: none;">
>   <tree .../>
>   <tree .../>
> </vbox>
> 
> the following error appears in the JS Console:
> 
> Error: this.view has no properties
> Source File: chrome://global/content/bindings/tree.xml
> Line: 0
> 
> If I change the <vbox/> style to "visibility: hidden;", the error
> disappears but this isn't the exact style I need (display: none
> prevents empty space appearing unlike visibility: hidden).
> 
> I found this related bug in BugZilla:
> https://bugzilla.mozilla.org/show_bug.cgi?id=272109 (Parkway Neil, you
> were apparently involved...)
> 
> Anyone know of a work-around in my extension for existing Firefox 1.5
> and Mozilla 1.7 users?

Try visibility: collapse

-- 
Pozdrawiam,
   Pawel Chmielowski


More information about the Project_owners mailing list