diff --git a/VERSION b/VERSION index 3e31ff2e..d3bb6729 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.5.1-stable+timestamp.2013.06.21.01.53.24 +Version 2.5.1-stable+timestamp.2013.06.21.06.43.49 diff --git a/applications/admin/static/js/web2py.js b/applications/admin/static/js/web2py.js index 4fa32877..d6a59c33 100644 --- a/applications/admin/static/js/web2py.js +++ b/applications/admin/static/js/web2py.js @@ -128,13 +128,13 @@ function web2py_component(action, target, timeout, times){ var jelement = jQuery("#" + target); var element = jelement.get(0); var statement = "jQuery('#" + target + "').get(0).reload();"; - element.reload = function (){ + jelement.reload = function (){ // Continue if times is Infinity or // the times limit is not reached - if (this.reload_check()){ + if (element.reload_check()){ web2py_ajax_page('get', action, null, target);} }; // reload // Method to check timing limit - element.reload_check = function (){ + element.reload_check = function (){ if (jelement.hasClass('w2p_component_stop')) {clearInterval(this.timing);return false;} if (this.reload_counter == Infinity){return true;} else { diff --git a/applications/examples/static/js/web2py.js b/applications/examples/static/js/web2py.js index 4fa32877..d6a59c33 100644 --- a/applications/examples/static/js/web2py.js +++ b/applications/examples/static/js/web2py.js @@ -128,13 +128,13 @@ function web2py_component(action, target, timeout, times){ var jelement = jQuery("#" + target); var element = jelement.get(0); var statement = "jQuery('#" + target + "').get(0).reload();"; - element.reload = function (){ + jelement.reload = function (){ // Continue if times is Infinity or // the times limit is not reached - if (this.reload_check()){ + if (element.reload_check()){ web2py_ajax_page('get', action, null, target);} }; // reload // Method to check timing limit - element.reload_check = function (){ + element.reload_check = function (){ if (jelement.hasClass('w2p_component_stop')) {clearInterval(this.timing);return false;} if (this.reload_counter == Infinity){return true;} else { diff --git a/applications/welcome/static/js/web2py.js b/applications/welcome/static/js/web2py.js index 4fa32877..d6a59c33 100644 --- a/applications/welcome/static/js/web2py.js +++ b/applications/welcome/static/js/web2py.js @@ -128,13 +128,13 @@ function web2py_component(action, target, timeout, times){ var jelement = jQuery("#" + target); var element = jelement.get(0); var statement = "jQuery('#" + target + "').get(0).reload();"; - element.reload = function (){ + jelement.reload = function (){ // Continue if times is Infinity or // the times limit is not reached - if (this.reload_check()){ + if (element.reload_check()){ web2py_ajax_page('get', action, null, target);} }; // reload // Method to check timing limit - element.reload_check = function (){ + element.reload_check = function (){ if (jelement.hasClass('w2p_component_stop')) {clearInterval(this.timing);return false;} if (this.reload_counter == Infinity){return true;} else {