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) {
|
$('a.reveal').click(function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
$.get($this.attr('href'), function(data) {
|
L.Util.Xhr.get($this.attr('href'));
|
||||||
return L.Chickpea.fire('modal_ready', {'data': data});
|
|
||||||
}, 'json');
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue