kutty wrote: > i am trying with the same persist object.How i know the status of the > first save operation
As you said, checking persist.getCurrentState() is one option. You can also attach a progress listener to the thing if you want... Your choice. > For my knowledge i know i have to wait for the first save operation to > call the second one.But where i have to wait?. You have to go out to the main event loop. So either set a timer to poll getCurrentState(), or set up a progress listener and wait for the end of load notification. -Boris _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
