Skip to content

iframe function does not return modal $Dom Element #92

@paulQdata

Description

@paulQdata

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions