diff --git a/templates/base.html b/templates/base.html index 9d4f839c..184346ef 100644 --- a/templates/base.html +++ b/templates/base.html @@ -176,6 +176,8 @@ // Anti modal inception if($link.parents('#modal').length == 0) { e.preventDefault(); + modaltarget = $link.data('target'); + modalobject = ""; jQuery('#modal').load($link.attr('href'), function (e) { jQuery('#modal').modal(); });