Re: [Proto-Scripty] Image cache problem with Ajax

2011-09-30 Thread Richard Quadling
On 30 September 2011 13:09, Phil Petree wrote: > I never meant to imply that onComplete did the same thing as onSuccess, what > I meant to state was that onComplete ALWAYS gets called last.  onSuccess can > always set a flag and onComplete can do the UI updates right before turning > off the spinn

[Proto-Scripty] Re: Future of Prototype.js

2011-09-30 Thread T.J. Crowder
On Sep 30, 3:58 am, Marty Amberg wrote: > Might have been asleep during my previous google searches  but I found > tj's  sitehttp://proto-scripty.wikidot.comtoday which seems like > answers questions of what I would want  and think  prototype needs to > grow.    No sense in reinventing something t

Re: [Proto-Scripty] Image cache problem with Ajax

2011-09-30 Thread Phil Petree
I never meant to imply that onComplete did the same thing as onSuccess, what I meant to state was that onComplete ALWAYS gets called last. onSuccess can always set a flag and onComplete can do the UI updates right before turning off the spinner. This is useful if you're experiencing those "async

Re: [Proto-Scripty] Image cache problem with Ajax

2011-09-30 Thread Richard Quadling
On 30 September 2011 12:53, Chris Sansom wrote: > On 30 Sep 2011, at 12:32, Richard Quadling wrote: > >> onFailure / onSuccess is in response to a working result from the AJAX call. >> >> onComplete is in response to the AJAX mechanism shutting down. >> >> onComplete will always be called, but it

Re: [Proto-Scripty] Image cache problem with Ajax

2011-09-30 Thread Chris Sansom
On 30 Sep 2011, at 12:32, Richard Quadling wrote: > onFailure / onSuccess is in response to a working result from the AJAX call. > > onComplete is in response to the AJAX mechanism shutting down. > > onComplete will always be called, but it isn't its job to deal with > the data from the call. Th

Re: [Proto-Scripty] Image cache problem with Ajax

2011-09-30 Thread Richard Quadling
On 30 September 2011 10:27, Chris Sansom wrote: > Right - time to deal with all these helpful answers I've been getting, but > first, to save time, let me say... it's fixed! And a very simple fix it was > too, which I /thought/ I'd already tried... > > On 29 Sep 2011, at 17:15, Richard Quadling

Re: [Proto-Scripty] Image cache problem with Ajax

2011-09-30 Thread Chris Sansom
Right - time to deal with all these helpful answers I've been getting, but first, to save time, let me say... it's fixed! And a very simple fix it was too, which I /thought/ I'd already tried... On 29 Sep 2011, at 17:15, Richard Quadling wrote: > Create a test case where it goes wrong. Write new