[Project_owners] XUL Persistant values
philip.chee at gmail.com
Mon Jan 2 19:46:22 EST 2006
On Mon, 2 Jan 2006 11:59:31 +0100, Ramiro Aparicio wrote:
> I am working in the options dialog of my extension and I found that
> even now that I had removed persist="width height" from the dialog
> attributes I just loads the stored values resulting in a dialog window
> too big.
> I found that deleting the values from localstore.rdf works but the
> users of my extension will not do that, so there is any
> atribute/option/code to make firefox forget that values instead of
> loading them each time.
Use nsIRDFService to get the local-store datasource and then unassert the
Or just use sizeToContent() in your dialog onload handler.
Philip Chee <philip at aleytys.pc.my>, <philip.chee at gmail.com>
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]He who laughs last probably doesn't understand the joke.
* TagZilla 0.059
More information about the Project_owners