If you can, please try to post a working example on jsfiddle, with html and
css too..
The current JS code is maybe too much, the problem can be isolated, but
with a complete example with css and html it's much easier to test instead
of just looking at the code.
You can also use Request at jsfiddle: http://doc.jsfiddle.net/use/echo.html
Thanks,
Rolf
On Wednesday, March 7, 2012 11:16:36 PM UTC+1, Håkon L wrote:
>
> 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.