Skip to content

Call "callback" before "close" #17

@geby

Description

@geby

I cannot access window content inside OK callback function. It is because window is closed before. So, I cannot read form values on the window, for example.

Fix is easy, call callback first and then close window. Line 48 should be like:

var cb = function() { callback(); self.close(); };

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions