Hi,
I think this is an issue with the backend. I changed to using the dictstore
in my activity and it works a charm in chrome; it calls my loaded callback.
But on sugar it hangs with loading the data.
I have no idea what is wrong, since it works for get things done activity.
Sam
On Sat, Mar
2014 15:34:33 +1100
From: Sam Parkinson sam.parkins...@gmail.com
To: Manuel Qui?ones ma...@laptop.org, Sugar-dev Devel
sugar-devel@lists.sugarlabs.org
Subject: [Sugar-devel] How do you save stuff in web activities?
Message-ID:
CACVKbrVomF2ayh1bUfCXeDSxzShjSxy3dag3Z0RES=
5ddoi
Does it work if you do it inside domReady like gtd? I don't remember if
that's required by the API (probably not) but it might trigger a race
condition anyway.
On Sunday, 23 March 2014, Sam Parkinson sam.parkins...@gmail.com wrote:
Hi,
I think this is an issue with the backend. I changed to
The domReady! worked a charm :)
On Sun, Mar 23, 2014 at 9:19 PM, Daniel Narvaez dwnarv...@gmail.com wrote:
Does it work if you do it inside domReady like gtd? I don't remember if
that's required by the API (probably not) but it might trigger a race
condition anyway.
On Sunday, 23 March
Where are you calling this from? You should not need to setup() manually.
On Saturday, 22 March 2014, Sam Parkinson sam.parkins...@gmail.com wrote:
Hi,
I'm just wondering, does anyone have any code snippets for saving on web
activities?
I'm trying to make a web activity and am having some
Hi,
I am just calling this form define(function(require). You can see the
rest of the file here
https://github.com/SAMdroid-apps/sugar-slides/blob/master/js/activity.coffee
Thanks :)
On Sat, Mar 22, 2014 at 6:36 PM, Daniel Narvaez dwnarv...@gmail.com wrote:
Where are you calling this from?
Hi,
I'm just wondering, does anyone have any code snippets for saving on web
activities?
I'm trying to make a web activity and am having some issues. Here is my
save+load code: [CoffeeScript]
activity.setup()
datastoreObject = activity.getDatastoreObject()
onLoaded = (error, metadata, data) -
7 matches
Mail list logo