similar to: prototype PeriodicalExecuter pause/restart patch

Displaying 20 results from an estimated 110 matches similar to: "prototype PeriodicalExecuter pause/restart patch"

2005 Dec 12
2
PeriodicalExecuter passing variables to the callback function
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"
2007 Sep 23
1
Does prototype get rid of PeriodicalExecuter once it is stop()?
Hello, in my app the user can click "start" to ask for regular refreshments of the data, and can also click "stop" to stop this refreshments (and then he can click "start" again to restart the process). im just wondering that , if he keeps starting and stopping, that is creating new PeriodicalExecuters and stoping them, if there will be any memory issues, does
2006 Nov 10
8
PeriodicalUpdater and popups.
Hi, I don''t know what might cause this, but maybe you do. If I put the code below in a html-file and open it in a popup. I get an error on row 129 in the latest prototype.js bundled with 1.6.5. popup.html: <script type="text/javascript" src="/inc/api/prototype.js"></script> <script type="text/javascript"> Event.observe(window,
2006 Mar 13
0
Turn off Responder for PeriodicalExecuter?
I''ve got a PeriodicalExecuter refreshing some content on my homepage. I''ve also got a Responder popping up a ''Working...'' box when ajax calls are being made. Is there a way to tell the Responder not to run when the PE is running? I''m new to prototype and scriptaculous so no assumptions of my knowledge are too low. :)
2006 Jan 19
0
PeriodicalExecuter and clearInterval
I apologize if this is not an appropriate question for this list (I couldn''t find a mailing list for prototype). Anybody know of a way to use the stop the PeriodicalExecuter in prototype from executing? In traditional js, I would just call "clearInterval(id)". Many Thanks, Josh _______________________________________________ Rails-spinoffs mailing list
2005 Oct 07
0
Stopping Prototype''s PeriodicalExecuter()
Hi, I was wondering if there was a way to stop Prototype 1.3.1''s PeriodicalExecuter? I don''t see any start()/stop() methods off of that object in the API. I noticed that Ajax.PeriodicalUpdater has start() and stop() methods, but haven''t worked through the syntax enough to know how to have similar behavior in just the PeriodicalExecutor object itself. Thanks, Jess
2008 Jun 07
3
PeriodicalExecuter stops when form is submitted in Safari 3
Hi I''m having a problem using PeriodicalExecuter with a form. I have a monitoring pane that updates status of form processing, and it stops working when I submit a form. It works with Safari 2, IE, Firefox, but not with Safari 3. I''ve made a test script: http://www.charmm-gui.org/test.html It updates a textarea, but it stops updating when the form is submitted in Safari 3. Any
2007 Aug 31
0
observe_field is not working everytime in IE 6.0
Hi, This is Atit here. I am working on Ruby on Rails. I have one functionality in which, I have two drop down. Second drop down list is dependent on first one. So changing value of first drop down is refreshing the second drop down. I have used observe_field to implement this functionality. This is working fine in Fire Fox but in IE 6.0 it is not populating second drop down every
2007 Mar 10
2
Managing PeriodicalExecuters in an Ajax app. How?
Hi all I have to deal with multiple PeriodicalExecuters over several Interfaces. Each has it own. Now this all works, but i when i go back and forth between them i spawn another and another etc... I tried to push the instance of PE to a global array and on each change in the interface invoke a stop() on them. This sounds okay, but it is obviously not working 100% of the time. Any ideas how to
2007 Feb 23
4
Does Ajax.PeriodicalUpdater have a shield against multiple parallel executions?
Hello Does Ajax.PeriodicalUpdater have a shield against multiple parallel executions? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email
2006 May 02
6
Stopping the Ajax.PeriodicalUpdater -- My Kludge?
Well, I''ve been burning the midnight oil trying to figure out how to issue the stop() command to a PeriodicUpdater. I''ve come up with a solution that uses setTimeouts to call the stop function. I think my solution is very kludgey... especially since I''m new to Javascript + Prototype. Can anyone let me know if the below code is at all proper? :) --------- Summary: A
2010 Feb 10
4
AJAX responses
Does anyone know if it''s possible to do multiple AJAX responses to a single request in Rails? I did some googling but didn''t find anything extremely helpful. Thanks. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2006 Mar 09
0
RE: extending an existing DOM object in a prototypeway
Gosh darn Outlook seems to have stripped some newlines from my response... last few lines should read... var myActiveSpanBase = new ActiveSpan({"red"}); Object.extend($(''someSpan''), myActiveSpanBase); $(''someSpan'').setup(); Or, more concisely... Object.extend($(''someSpan''), new ActiveSpan({"blue"});
2006 Mar 09
0
RE: extending an existing DOM object in aprototypeway
..lol... and I screwed up the option... one more time... var myActiveSpanBase = new ActiveSpan({color: "red"}); Object.extend($(''someSpan''), myActiveSpanBase); $(''someSpan'').setup(); Or, more concisely... Object.extend($(''someSpan''), new ActiveSpan({color: "blue"}); $(''someSpan'').setup();
2006 Sep 20
5
[Slightly OT] Uploading files with firefox
I have been successfully using the latest mongrel and upload progress plugin with safari but firefox seems to have some issues with any request that takes longer than 5 seconds to complete. You get the "Warning: Unresponsive Script" screen. Apparently this problem is fixable by following this: http://computer-vet.com/weblog/2006/04/28/ firefox_warning_unresponsive_script.html
2007 Aug 25
5
onLoad event with an update function
Hello, I am using the following code: new Ajax.Request(''ajax.php'', { parameters: { task: ''home'' }, onSuccess: function(transport) { $(''home_montage'').update(transport.responseText); new Effect.Appear(
2006 Mar 09
2
extending an existing DOM object in a prototype way
I want to take an existing DOM object and extend it with some functionality. I know there''s a way to do this with prototype. Unfortunately, I''m not entirely sure how to do this. Basically, I want to take an existing DOM object and turn it into a ''widget'' by adding some functionality. say we have a span: <span id="blah">some text
2008 Sep 24
5
Auto refresh field
Hi, I would to know if it is possible to automaticly refresh some particular field ? Clearly, I have a model called "productions" with fileds "name" and "numbers". Another application update fields "numbers" of the mysql table. On an "index.html.erb", I have the list of "production" and i would like to view automaticly when value of
2006 Aug 16
7
Forward of moderated message
OK I know whats happening. Your while loop completes and calls kill on the worker before your task_progress controller method ever gets called> So the worker is deleted and when you try to access it from rails you get an error because there is no longer a worker at that job key. The kill method is meant to be used within a worker that you fire and forget. If you want to get the
2008 Jan 05
4
PeriodicalUpdater onComplete broken?
Using the PeriodicalUpdater, I''m finding the onComplete is not firing. I thought I''d get some feedback here before filing a bug report. http://ianty.com/updater/update_test_1.6.0.1.html http://ianty.com/updater/update_test_1.6.0.html The above are examples of this for prototype 1.6.0 & 1.6.0.1. I''m expecting the onComplete to fire after the update takes place, per