[Project_owners] Preferences in Mozilla

Chris Neale cdn at mozdev.org
Fri Dec 26 23:58:01 EST 2003


On Friday 26 December 2003 23:47, Jaap A. Haitsma wrote:
> Now for mozilla (seamonkey) I have this.
> --------------
> <page xmlns:html="http://www.w3.org/1999/xhtml"
>        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>
> xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
>        headertitle="Dictionary Search Settings"
>        buttons="accept,cancel"
>        ondialogaccept="return dictionarySearchSaveSettings();"
>        onload="dictionarySearchLoadSettings();">
>
> <script src="dictionarysearchOverlay.js"/>
> -----------------
>
> During onload dictionarySearchLoadSettings() gets called correctly but
> when I click on OK dictionarySearchSaveSettings() doesn't get called.
>
> Why is this?? (I guess it has to do that the OK in mozilla is for all
> the preferences)
>
> How do I get it to work correctly?
>
> Thanks,
>
> Jaap
> _______________________________________________

if you're overlaying the preftree etc, your panel needs to have an _elementIDs 
array for Seamonkey to save the prefs

look at one of the existing panels

-- 

cdn

--

Extensions for Mozilla-based Applications [ http://cdn.mozdev.org/ ]

get Orbit3+1, Orbit Retro and other Mozilla themes from : 
http://themes.mozdev.org/



More information about the Project_owners mailing list