pass the correct element when trapping links

This commit is contained in:
niphlod
2013-09-25 00:09:19 +02:00
parent 6bea258722
commit cb6ae0516c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -269,7 +269,7 @@
var link = $(this);
link.click(function (e) {
web2py.hide_flash();
web2py.ajax_page('get', link.attr('href'), [], target);
web2py.ajax_page('get', link.attr('href'), [], target, $(this));
e.preventDefault();
});
});
+1 -1
View File
@@ -269,7 +269,7 @@
var link = $(this);
link.click(function (e) {
web2py.hide_flash();
web2py.ajax_page('get', link.attr('href'), [], target);
web2py.ajax_page('get', link.attr('href'), [], target, $(this));
e.preventDefault();
});
});
+1 -1
View File
@@ -269,7 +269,7 @@
var link = $(this);
link.click(function (e) {
web2py.hide_flash();
web2py.ajax_page('get', link.attr('href'), [], target);
web2py.ajax_page('get', link.attr('href'), [], target, $(this));
e.preventDefault();
});
});