I trying to pass a variable to the call back function of when utilizing the PeriodicalExecuter function

ex.

new PeriodicalExecuter(refresh, 10);
works

but
new PeriodicalExecuter(refresh(id), 10);
works once then errors after the 10 seconds, I get "this.callback is not a function"

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to