You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
But if i open overlay before open fancybox - i have errror _"this.el is undefined"_ on line 1818 this.el.addClass('fancybox-lock');
$(document).on('click','[data-fancy]',function(e){e.preventDefault();// show loading and overlay//$.fancybox.helpers.overlay.open(); // this line causes an error$.fancybox.showLoading();// post ajax request$.post('/ajax/',{},function(r){// open fancybox with ajax result$.fancybox.open(r);});})
what is the problem
please, reply
or show example of solving my problem (fancybox with post request )
The text was updated successfully, but these errors were encountered:
I want show fancybox when calling ajax request
But if i open overlay before open fancybox - i have errror _"this.el is undefined"_ on line 1818
this.el.addClass('fancybox-lock');
what is the problem
please, reply
or show example of solving my problem (fancybox with post request )
The text was updated successfully, but these errors were encountered: