couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vlad GURDIGA <gurd...@gmail.com>
Subject Re: async saveDoc
Date Thu, 15 Oct 2009 13:31:51 GMT
Here it is: http://friendpaste.com/4mx38Ik7kHFzmeGiv5EMmn

Thanks for heads up!

On Thu, Oct 15, 2009 at 4:20 PM, Jan Lehnardt <jan@apache.org> wrote:
> Hi Vlad,
>
> On 15 Oct 2009, at 14:48, Vlad GURDIGA wrote:
>
>> Hello!
>>
>> I'm trying to set up some acceptance tests for a $.CouchApp form like:
>> - fill the form fields with some values;
>> - submit the form and check the success;
>>
>> Right now (couchdb r825472) the form is submitted asynchronously, and,
>> as far as I can see there is no way to cleanly automate form
>> submission and check the result.
>>
>> For this purpose, I think it would be nice to have the opportunity to
>> ask $.couch.db.saveDoc() to save the document asynchronously.
>> As far as I could see in jquery.couch.js, this would need a few little
>> changes (the patch is attached).
>
> this mailing list strips most attachments. Try uploading it to
> http://friendpaste.com/ :)
>
> Cheers
> Jan
> --
>
>

Mime
View raw message