Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iframe function does not return modal $Dom Element #92

Open
paulQdata opened this issue Aug 17, 2020 · 0 comments
Open

iframe function does not return modal $Dom Element #92

paulQdata opened this issue Aug 17, 2020 · 0 comments

Comments

@paulQdata
Copy link

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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant