In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
725 [In-Portal CMS] Admin Interfaces bug report always 2010-05-08 22:05 2010-11-30 12:48
Dmitry  
alex  
normal  
closed 5.0.3-RC1  
fixed  
 
none 5.1.1-B1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/d1ef40354f80b051
Minor fix for Modal Windows
0
0000725: onAfterShow callback isn't called i ThickBox
onAfterShow callback isn't called i ThickBox, when inline div is used

Also "onAfterClose" callback added to allow setting close callback upon
window open.
patch thickbox_onclose.patch (1,223) 2010-05-08 22:05
http://tracker.in-portal.org/file_download.php?file_id=529&type=bug
Issue History
2010-11-30 12:48 Dmitry Note Added: 0003064
2010-11-30 12:48 Dmitry Status resolved => closed
2010-08-28 16:38 alex Note Added: 0002720
2010-08-28 16:38 alex Status reviewed and tested => resolved
2010-08-28 16:38 alex Fixed in Version => 5.1.1-B1
2010-08-28 16:38 alex Resolution open => fixed
2010-08-28 16:38 alex Changeset attached 5.1.x r13887
2010-07-31 13:06 alex Target Version 5.1.1-B1 => 5.1.1
2010-07-31 13:03 alex Target Version Icebox => 5.1.1-B1
2010-05-23 19:12 Dmitry Assigned To !COMMUNITY => alex
2010-05-23 19:12 Dmitry Note Added: 0002300
2010-05-23 19:12 Dmitry Status needs testing => reviewed and tested
2010-05-23 06:47 alex Note Added: 0002296
2010-05-08 22:09 Dmitry Developer Dmitry => alex
2010-05-08 22:08 Dmitry Note Added: 0002070
2010-05-08 22:08 Dmitry Assigned To => !COMMUNITY
2010-05-08 22:08 Dmitry Developer => Dmitry
2010-05-08 22:08 Dmitry Status active => needs testing
2010-05-08 22:05 Dmitry New Issue
2010-05-08 22:05 Dmitry File Added: thickbox_onclose.patch
2010-05-08 22:05 Dmitry Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/d1ef40354f80b051
2010-05-08 22:05 Dmitry Change Log Message => Minor fix for Modal Windows

Notes
(0002070)
Dmitry   
2010-05-08 22:08   
Patch uploaded - please test.
(0002296)
alex   
2010-05-23 06:47   
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>
(0002300)
Dmitry   
2010-05-23 19:12   
Tested good on 5.1.0 - I suppose will be fine for 5.0.4 too.
(0002720)
alex   
2010-08-28 16:38   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000725: onAfterShow callback isn't called i ThickBox
(0003064)
Dmitry   
2010-11-30 12:48   
Closing released 5.1.1 task.