• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

ScriptUI check if dialogue closed

People's Champ ,
Mar 29, 2011 Mar 29, 2011

Copy link to clipboard

Copied

Hi,

How can I tell whether the user dismissed a modal dialogue by clicking on the default close button - the X button?

My own cancel button is working, but when the X button is clicked it doesn't call the cancel function and the script continues running as though OK was clicked.

Thanks,

Ariel

TOPICS
Scripting

Views

456

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 29, 2011 Mar 29, 2011

Copy link to clipboard

Copied

I'm Mac User, so the X button doesn't appear on dialog window.

When create new dialog, use { closeButton: false } option may be  resolved this.

Do you need the X button?

thanks,

mg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Mar 31, 2011 Mar 31, 2011

Copy link to clipboard

Copied

LATEST

Hi,

Thanks very much for this answer. I haven't had a chance to check it out

yet, I'll post back when I have.

Thanks,

Ariel

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines