So i have one thing can not understand . When the first time , i click
button add comment, the xml file already adds new item, but the server
still keeps the old file . It is ok, but when i click button add comment
again, the server can update the xml file. I don't know why only the first
time it can not update.

Bao Dinh
Web developer
561 451 6151

On Fri, Aug 28, 2015 at 2:06 AM, Sander Elias <[email protected]> wrote:

> Hi Thé,
>
> Then a crude solution could be to put in a timeout before the reloading.
> Give your server some time to commit the change. Keep in mind that this is
> a very dirty solution, and it will occasionally fail. Best thing is to make
> sure the server returns the updated results.
>
> Regards
> Sander
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/sAE0KZZFrBg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to