From 074b3de687ee65c2fc5bf87816d72cfd9fd96a10 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Wed, 4 Jul 2012 17:05:27 -0500 Subject: [PATCH] component timeout defauls to oo, issue 871, thanks Simon --- VERSION | 2 +- applications/admin/static/js/web2py.js | 1 + applications/examples/static/js/web2py.js | 1 + applications/welcome/static/js/web2py.js | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 38771935..56675d6c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-07-04 17:02:32) dev +Version 2.00.0 (2012-07-04 17:05:24) dev diff --git a/applications/admin/static/js/web2py.js b/applications/admin/static/js/web2py.js index 32364f35..eb1e3b09 100644 --- a/applications/admin/static/js/web2py.js +++ b/applications/admin/static/js/web2py.js @@ -145,6 +145,7 @@ function web2py_component(action, target, timeout, times){ } } else { // run once (no timeout specified) + element.reload_counter = Infinity; web2py_ajax_page('get', action, null, target); } }); } diff --git a/applications/examples/static/js/web2py.js b/applications/examples/static/js/web2py.js index 32364f35..eb1e3b09 100644 --- a/applications/examples/static/js/web2py.js +++ b/applications/examples/static/js/web2py.js @@ -145,6 +145,7 @@ function web2py_component(action, target, timeout, times){ } } else { // run once (no timeout specified) + element.reload_counter = Infinity; web2py_ajax_page('get', action, null, target); } }); } diff --git a/applications/welcome/static/js/web2py.js b/applications/welcome/static/js/web2py.js index 32364f35..eb1e3b09 100644 --- a/applications/welcome/static/js/web2py.js +++ b/applications/welcome/static/js/web2py.js @@ -145,6 +145,7 @@ function web2py_component(action, target, timeout, times){ } } else { // run once (no timeout specified) + element.reload_counter = Infinity; web2py_ajax_page('get', action, null, target); } }); }