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
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to