fixed web2py.py himBH>jQuery, thanks Anthony

This commit is contained in:
Massimo DiPierro
2012-06-06 10:51:34 -05:00
parent b45134512a
commit e1f4c1fb67
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-06-05 20:02:32) dev
Version 2.00.0 (2012-06-06 10:51:30) dev
+2 -2
View File
@@ -104,8 +104,8 @@ function web2py_ajax_page(method, action, data, target) {
function web2py_component(action, target, timeout, times){
jQuery(function(){
var element = $("#" + target).get(0);
var statement = "$('#" + target + "').get(0).reload();";
var element = jQuery("#" + target).get(0);
var statement = "jQuery('#" + target + "').get(0).reload();";
element.reload = function (){
// Continue if times is Infinity or
// the times limit is not reached
+2 -2
View File
@@ -104,8 +104,8 @@ function web2py_ajax_page(method, action, data, target) {
function web2py_component(action, target, timeout, times){
jQuery(function(){
var element = $("#" + target).get(0);
var statement = "$('#" + target + "').get(0).reload();";
var element = jQuery("#" + target).get(0);
var statement = "jQuery('#" + target + "').get(0).reload();";
element.reload = function (){
// Continue if times is Infinity or
// the times limit is not reached
+2 -2
View File
@@ -104,8 +104,8 @@ function web2py_ajax_page(method, action, data, target) {
function web2py_component(action, target, timeout, times){
jQuery(function(){
var element = $("#" + target).get(0);
var statement = "$('#" + target + "').get(0).reload();";
var element = jQuery("#" + target).get(0);
var statement = "jQuery('#" + target + "').get(0).reload();";
element.reload = function (){
// Continue if times is Infinity or
// the times limit is not reached