[Plasmoid] Odd javascript error: 'plasmoid.update' [undefined] is not a fuction
Marco
mrcekets at gmail.com
Mon Apr 18 22:49:50 CEST 2011
Hi all,
some time ago I implemented a plasmoid in javascript that redefines the
"plasmoid.paintInterface" method and implements the "plasmoid.dataUpdated"
method. In this last method when data is effectively changed a call to
"plasmoid.update()" is performed. I deployed it under OpenSuse 11.3 with KDE
4.4. Everything worked fine. Lately I try to run it under OpenSuse 11.4 with
KDE 4.6.0 and I got this odd javascript error: "TypeError: Result of
expression 'plasmoid.update' [undefined] is not a fuction". I tried to make
a test:
if (!plasmoid.update)
{
print ("plasmoid.update method not available")
}
as I have foreseen the message is written to the console. So the question
is: why it doesn't find the update method for the plasmoid object ?
I tried to google a bit but without success, so any hint is welcome.
Kind Regards,
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20110418/3f9e67df/attachment.htm
More information about the Plasma-devel
mailing list