On Aug 16, 7:50 am, JoJo tokyot...@gmail.com wrote:
I think I figured it out. The callback must not have parentheses.
FAIL: onUpdate: someFunction();
GOOD: onUpdate: someFunction;
I have no idea why. I am a beginner to JS.
Because onUpdate: someFunction() means Call 'someFunction'
I think I figured it out. The callback must not have parentheses.
FAIL:onUpdate: someFunction();
GOOD: onUpdate: someFunction;
I have no idea why. I am a beginner to JS.
On Aug 15, 11:17 pm, Mojito tokyot...@gmail.com wrote:
Why is the onUpdate callback fired right when the Sortable is
prototype-scriptaculous@googlegroups.com
Sent: Sunday, August 16, 2009 7:50 AM
Subject: [Proto-Scripty] Re: Sortable onUpdate firing at the wrong time
I think I figured it out. The callback must not have parentheses.
FAIL:onUpdate: someFunction();
GOOD: onUpdate: someFunction;
I have no idea