sorry, don't know what happened at the end of my previous post.
Also currentlyExecuting to false was a red herring.
Just need to figure out how to make start() work
Tonypm
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post
Ok - so the stop works great
this_updater.stop()
stops the periodical request
But this_updater.start() does not restart it.
I test for typeof(this_updater) and get object but start() doesnt do
anything
I can test it from the console.
this_updater.stop()
works and sets its currentlyExecuting
, 2009 3:18 PM
*Subject:* [Proto-Scripty] Re: instanting and reinstanting a
function: Ajax.PeriodicalUpdater
david wrote:
Bill,
just a precision (in Fact I did not understand that you still need to
get every minutes the result):
the stop() method is at
http
: Re: [Proto-Scripty] Re: instanting and reinstanting a function:
Ajax.PeriodicalUpdater
Alex McAuley wrote:
No need to worry about multiple instances ... just check the variable
before you initialise it...
Alex Mcauley
http://www.thevacancymarket.com
Thanks again david and Alex
*To:* prototype-scriptaculous@googlegroups.com
mailto:prototype-scriptaculous@googlegroups.com
*Sent:* Tuesday, November 17, 2009 3:18 PM
*Subject:* [Proto-Scripty] Re: instanting and reinstanting a
function: Ajax.PeriodicalUpdater
david wrote
HTH
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: bill
To: prototype-scriptaculous@googlegroups.com
Sent: Monday, November 16, 2009 2:31 PM
Subject: [Proto-Scripty] Re: instanting and reinstanting a function:
Ajax.PeriodicalUpdater
david
-Scripty] Re: instanting and reinstanting a function:
Ajax.PeriodicalUpdater
david wrote:
Bill,
just a precision (in Fact I did not understand that you still need to
get every minutes the result):
the stop() method is at
http://api.prototypejs.org/ajax/ajax/periodicalupdater.html#stop
Hi Bill,
Isn't it just an Ajax.Request that you need, because the periodical
executer is used 'generally' without the need of a user click. I mean,
in your exemple, it's like you start at the begginning the periodical
updater, and after it reload every time there is new message the
target DIV.
- Original Message -
From: bill
To: prototype-scriptaculous@googlegroups.com
Sent: Monday, November 16, 2009 2:31 PM
Subject: [Proto-Scripty] Re: instanting and reinstanting a function:
Ajax.PeriodicalUpdater
david wrote:
Hi Bill,
Isn't it just an Ajax.Request that you need, because