On Fri, Jul 30, 2004 at 12:12:33PM +0200, ALBANI damiano wrote:
> However, as there's no 'include' or 'import' feature in JavaScript, I 
> have to fetch the file and then eval() the code.

http://lxr.mozilla.org/seamonkey/source/js/src/xpconnect/idl/mozIJSSubScriptLoader.idl

> // it works, because mUpdateMode isn't accessed through a setter (?)
>   handler.mUpdateMode = true;

http://lxr.mozilla.org/seamonkey/source/xpfe/components/prefwindow/resources/content/pref-applications-edit.xul#260
sounds like you should only set this to true if an entry for this mime
type already exists. Does it?

-- 
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to