onAfterShow callback isn't called i ThickBox

Labels

Description

onAfterShow callback isn't called i ThickBox, when inline div is used

Also "onAfterClose" callback added to allow setting close callback upon
window open.

Context Information

None

Additional information (do not use)

None

Attachments

1
  • 09 May 2010, 03:05 AM

Confluence content

mentioned on

Phabricator

Activity

Show:

Dmitry Andrejev November 30, 2010 at 6:48 PM

Closing released 5.1.1 task.

Alex August 28, 2010 at 9:38 PM

Fix committed to [b]5.1.x branch/b. Commit Message:

Fixes #0000725: onAfterShow callback isn't called i ThickBox

Dmitry Andrejev May 24, 2010 at 12:12 AM

Tested good on 5.1.0 - I suppose will be fine for 5.0.4 too.

Alex May 23, 2010 at 11:47 AM

Test code #1:

script:
=======
TB.show(
{
onAfterClose: funtion() { alert('window was closed'); }
}
);

Test code #2:

script:
=======
TB.show(
{
url: 'http://www.site.com/index.php?TB_inline=1&height=300&width=400&inlineId=myOnPageContent',
onAfterShow: funtion() { alert('window was opened'); }
}
);

html:
=====
<div id="myOnPageContent">test</div>

Dmitry Andrejev May 9, 2010 at 3:08 AM

Patch uploaded - please test.

Fixed

Priority

Assignee

Alex

Reporter

Developer

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

External issue ID

Fix versions

Affects versions

Created May 9, 2010 at 3:05 AM
Updated December 29, 2024 at 9:16 PM
Resolved November 30, 2010 at 6:48 PM

Flag notifications