From 6f81cacd6472dde2d6fe8247549c7b93e3e5cccb Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Thu, 22 Nov 2012 15:05:57 +0100 Subject: [PATCH] Use Chickpea event to launch modal --- youmap/templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youmap/templates/base.html b/youmap/templates/base.html index c8aeeb6b..90f3e662 100644 --- a/youmap/templates/base.html +++ b/youmap/templates/base.html @@ -62,7 +62,7 @@ e.preventDefault(); var $this = $(this); $.get($this.attr('href'), function(data) { - return L.Util.chickpea_modal(data.html); + return L.Chickpea.fire('modal_ready', {'data': data}); }, 'json'); });