[fusion-users] Widget Functions.

Tómas Guðmundsson tomas at snertill.is
Wed May 14 05:57:42 EDT 2008


Hi all.

I have been wondering about a very strange "bug" but then again this might be something that you don't notice until you've told everybody about it and feel like a complete idiot.

I'm trying to create a code that extends the refresh widget by opening up a ui-blocking page like the Print widget does. However, if I just use the pure code from Print.js, like copy/paste. Firebug gives me an error that the function can not be found. Totally cryptic to me. It is defined exactly like the Print.js widget, do I need to define my functions somewhere else ?

Also, if I have created a seperate widget that I want to use just like a new class in a conventional programming, like so.

var myObject = new MyNewWidget();

Do I need to call Fusion.Class or something ?

Thanks
Tomas


More information about the fusion-users mailing list