pass the correct element when trapping links

This commit is contained in:
niphlod committed 2013-09-25 00:09:19 +02:00
1 parent 6bea258722
commit cb6ae0516c
3 files changed
+3 -3

No files matched your search

+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();
});
});