From 0145b55a5c167b3b9219287dcbf3c88cfa50cd71 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 11 Dec 2012 15:31:24 +0100 Subject: [PATCH] Use chickpea Xhr to get the login/permissions check --- youmap/templates/base.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/youmap/templates/base.html b/youmap/templates/base.html index a0031ec4..0c1514fe 100644 --- a/youmap/templates/base.html +++ b/youmap/templates/base.html @@ -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')); }); {% endblock %}