mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +09:00
Issue 2929: r12743`s bug(support nested modal window)
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12747 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
172f48156c
commit
5856ab444d
2 changed files with 3 additions and 2 deletions
|
|
@ -366,6 +366,7 @@ jQuery(function($){
|
|||
$btnClose = $('<button type="button" class="x_close">×</button>');
|
||||
$btnClose.click(function(){ $modal.data('anchor').trigger('close.mw') });
|
||||
$modal.find('[data-hide]').click(function(){ $modal.data('anchor').trigger('close.mw') });
|
||||
$('body').append($modal);
|
||||
$modal.prepend($btnClose); // prepend close button
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue