CAM 2019 - EDL
jQuery(document).ready(function(){ if(window.parent) { title = jQuery(".hidden-title").text(); description = jQuery(".hidden-description").html(); jQuery("#fulltext-modal .modal-header strong", window.parent.document).text(title); jQuery("#fulltext-modal .modal-footer .text", window.parent.document).html(description); jQuery(".main-image").click(function(){ url = document.URL; url = url.replace("?tmpl=component",""); url = url.replace("&tmpl=component",""); url = url.replace("&tmpl=component",""); window.parent.document.location.href = url; return false; }); } });