goFrendiAsgard/No-CMS

jquery fancybox

orazionelson opened this issue · 2 comments

The jquery.fancybox called in grocerycrud in last master version doesn't show the close button, and there are no relevant messages in console.
schermata da 2016-06-19 02 16 35

In the edit mode is the same.

I found a patch on this page:
nvidoni/fancybox#2

The file to edit is assets/grocery_crud/js/jquery_plugins/jquery.fancybox-1.3.4.js

This fix worked for me at line 570:
//content.get(0).style.removeAttribute('filter');
//wrap.get(0).style.removeAttribute('filter');
$('#fancybox-content').css('filter', 0);
$('#fancybox-wrap').css('filter', 0);

Fixed. Thank you very much
faebc71