Use 'this' instead of the dialog box for the outside-click-action
This will use the keyword 'this' to select the current dialog box and assign the close action. The 'this' keyword shall be in the outer context (and not in the inner function context) to work (because of the particular working of the 'this' keyword in javascript...)
Loading
Please register or sign in to comment