Use chickpea Xhr to get the login/permissions check

This commit is contained in:
Yohan Boniface 2012-12-11 15:31:24 +01:00
parent 569db8e7e0
commit 0145b55a5c

View file

@ -63,9 +63,7 @@
$('a.reveal').click(function(e) {
e.preventDefault();
var $this = $(this);
$.get($this.attr('href'), function(data) {
return L.Chickpea.fire('modal_ready', {'data': data});
}, 'json');
L.Util.Xhr.get($this.attr('href'));
});
</script>
{% endblock %}