Use chickpea Xhr to get the login/permissions check
This commit is contained in:
parent
569db8e7e0
commit
0145b55a5c
1 changed files with 1 additions and 3 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue