Hi, thanks for having a look despite the weak Fiddle.
Did you mean this bit:
event.target.set('send', {
onSuccess: success,
onFailure: function(response) {
console.log(response);
}
});
or this one:
this.attachAllItemEvents(empty);
I suspected the first one, but I tried event.target.erase('send'), but
it didn`t help and it should re-set the values anyway I would
think...?
The second one doesn`t have the failing event in that method and it is
applied to a new object. Or was it some other code you spotted?
I`ve appended the whole class after the interesting bits on this
fiddle:
http://jsfiddle.net/3KpK3/1/
Thanks!
Håkon
On Mar 7, 7:33 pm, Sanford Whiteman <[email protected]> wrote:
> > I`ve created a fiddle with the relevant bits, it won`t run, it`s just
> > to display the code.
> >http://jsfiddle.net/3KpK3/
>
> A non-running Fiddle isn't very stimulating... a cursory look suggests
> you're reattaching the events in the event listener, which will create
> multiple iterations.
>
> -- S.