The error occurs if you have a complex object added to your options. Google Desktop can only save integer, boolean and strings with options.putValue(). If you have a complex object or structure you need to save like an array, you could convert it to a JSON string and store that. Have a look at your code and see if you ever set options.putValue () with an object to find the problem.
Best regards, Benjamin On Jul 21, 6:33 pm, Antonio Liñan <[email protected]> wrote: > Hi, everyone > I have a problem. When I change the state of de google desktop bar, > (to minimize for example), it gets an error, like > " > The data of the following dadgets can't be saved. > > <My gadgets name> > " > It seems to be caused by a contentarea because if I remove it, the > error disappears. It dissapears too if I remove the javascript in > main.js, so, there is an error in the code related with the > contentarea, but I'm not able to find this, I have been debugging the > code for days!, and I know it may be a simple error X'(, . Please help > me!, the main.xml is simple and I don't think there's the error but > the contentarea is declared in this way: "<contentarea height="112" > name="contenido" width="120" x="10" y="18"/>" > > Some times, when some time's passed, the error occurs by it's self. > > I removed each line in the js that modify the contentarea, but nothing > changed. > > Please, it's the last thing i need to fix to get my first gadget running!, > thank you for reading! > Any help will be welcomed > > (This message may be repost from another mail in response to a message > from me, it was an error. please remove the other message.) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
