allow component that do not reload, thanks Niphlod

This commit is contained in:
mdipierro
2013-02-15 17:33:55 -06:00
parent 08150f3a9d
commit 93f26540e6
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.4.1-alpha.2+timestamp.2013.02.15.17.28.22
Version 2.4.1-alpha.2+timestamp.2013.02.15.17.33.13
+1 -1
View File
@@ -134,7 +134,7 @@ function web2py_component(action, target, timeout, times){
web2py_ajax_page('get', action, null, target);} }; // reload
// Method to check timing limit
element.reload_check = function (){
if (jelement.hasClass('w2p_component_stop')) {return false;}
if (jelement.hasClass('w2p_component_stop')) {clearInterval(this.timing);return false;}
if (this.reload_counter == Infinity){return true;}
else {
if (!isNaN(this.reload_counter)){
+1 -1
View File
@@ -134,7 +134,7 @@ function web2py_component(action, target, timeout, times){
web2py_ajax_page('get', action, null, target);} }; // reload
// Method to check timing limit
element.reload_check = function (){
if (jelement.hasClass('w2p_component_stop')) {return false;}
if (jelement.hasClass('w2p_component_stop')) {clearInterval(this.timing);return false;}
if (this.reload_counter == Infinity){return true;}
else {
if (!isNaN(this.reload_counter)){
+1 -1
View File
@@ -134,7 +134,7 @@ function web2py_component(action, target, timeout, times){
web2py_ajax_page('get', action, null, target);} }; // reload
// Method to check timing limit
element.reload_check = function (){
if (jelement.hasClass('w2p_component_stop')) {return false;}
if (jelement.hasClass('w2p_component_stop')) {clearInterval(this.timing);return false;}
if (this.reload_counter == Infinity){return true;}
else {
if (!isNaN(this.reload_counter)){