Open paulQdata opened 4 years ago
The iframe function is supposed to return the modal $DOM element, according to the function documentation. Currently, the promise is resolved with
function iframeReady() { $(this) .parent() .find('div.' + tmpModalContent) .fadeOut(function () { $(this).remove(); }); return dfd.resolve(); }
Resolving with nothing, To return the modal $DOM element, i had to modify the resolv call into
return dfd.resolve($modal);
The iframe function is supposed to return the modal $DOM element, according to the function documentation. Currently, the promise is resolved with
Resolving with nothing, To return the modal $DOM element, i had to modify the resolv call into