onAfterShow callback isn't called i ThickBox
Components
Labels
Description
Context Information
Additional information (do not use)
Attachments
- 09 May 2010, 03:05 AM
Activity
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.
Priority
Assignee
Reporter
Developer
Change Log Message
Patch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
onAfterShow callback isn't called i ThickBox, when inline div is used
Also "onAfterClose" callback added to allow setting close callback upon
window open.