Use Chickpea event to launch modal

This commit is contained in:
Yohan Boniface 2012-11-22 15:05:57 +01:00
parent 3dd7d96065
commit 6f81cacd64

View file

@ -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');
});
</script>