Hi all,
I have some problems with my gadget.
http://desktop.google.com/plugins/i/currenciesexchangera.html
In view_onOpen method (when gadget started) I have next code:
pRequest();
interval_id = view.setInterVal("pRequest();", intMin * 60000);
and in method view_OptionsChanged (when options changed) I have:
view.clearInterval(interval_id);
interval_id = view.setInterVal("pRequest()", parseInt
(options.getValue
("Min")) * 60000);
pRequest();
When gadget is started pRequest method is executed once and after
this
is NOT executed more.
But after options is changed pRequest method is executed NORMALY, in
interval what I set.
Where is the mistake? Why gadget not work normally on startup?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Desktop Developer Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-desktop-developer?hl=en
-~----------~----~----~----~------~----~------~--~---