fixed web2py.py himBH>jQuery, thanks Anthony

This commit is contained in:
Massimo DiPierro committed 2012-06-06 10:51:34 -05:00
1 parent f263365210
commit 6acc2b6ed7
4 files changed
+7 -7

No files matched your search

+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){ function web2py_component(action, target, timeout, times){
jQuery(function(){ jQuery(function(){
var element = $("#" + target).get(0); var element = jQuery("#" + target).get(0);
var statement = "$('#" + target + "').get(0).reload();"; var statement = "jQuery('#" + target + "').get(0).reload();";
element.reload = function (){ element.reload = function (){
// Continue if times is Infinity or // Continue if times is Infinity or
// the times limit is not reached // 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){ function web2py_component(action, target, timeout, times){
jQuery(function(){ jQuery(function(){
var element = $("#" + target).get(0); var element = jQuery("#" + target).get(0);
var statement = "$('#" + target + "').get(0).reload();"; var statement = "jQuery('#" + target + "').get(0).reload();";
element.reload = function (){ element.reload = function (){
// Continue if times is Infinity or // Continue if times is Infinity or
// the times limit is not reached // 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){ function web2py_component(action, target, timeout, times){
jQuery(function(){ jQuery(function(){
var element = $("#" + target).get(0); var element = jQuery("#" + target).get(0);
var statement = "$('#" + target + "').get(0).reload();"; var statement = "jQuery('#" + target + "').get(0).reload();";
element.reload = function (){ element.reload = function (){
// Continue if times is Infinity or // Continue if times is Infinity or
// the times limit is not reached // the times limit is not reached