fixed web2py.py himBH>jQuery, thanks Anthony
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-06-05 20:02:32) dev
|
Version 2.00.0 (2012-06-06 10:51:30) dev
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user