Can you post a little bit of your code that uses the PeriodicalUpdater, and where you're executing the logic where you want it to stop? It's hard to say much more than what I posted without being able to see how you're using it.
On Thu, Jun 5, 2008 at 5:50 PM, voracious_reader <[EMAIL PROTECTED]> wrote: > > Can you tell me how. Thanks, > > On Jun 4, 10:28 am, sheps-ii <[EMAIL PROTECTED]> wrote: > > Thanks to all, think I fixed this. > > > > On Jun 4, 6:13 pm, "Frederick Polgardy" <[EMAIL PROTECTED]> wrote: > > > > > You can call .stop() on your periodical updater object once you've > created > > > it. Just have to save it away.... > > > > > var updater = new Ajax.PeriodicalUpdater(...); > > > if (someCondition) updater.stop(); > > > > > Different issue - what the OP posted doesn't involve a > PeriodicalUpdater. > > > > > On Wed, Jun 4, 2008 at 12:07 PM, voracious_reader <[EMAIL PROTECTED]> > > > wrote: > > > > > > I have the same issue. I'm using Ajax.PeriodicalUpdater. I want to > > > > stop making calls based on condition. How do I do it? -- Science answers questions; philosophy questions answers. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---