mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-27 18:10:42 +00:00
do not load content of modal box from href url, if href is not set
This commit is contained in:
parent
eb2f4d6206
commit
917ba91d95
|
|
@ -1718,6 +1718,7 @@ $(document).ready(function() { /* {{{ */
|
|||
|
||||
$(document).ready(function() { /* {{{ */
|
||||
$('body').on('click.modal.data-api', '[data-toggle="modal"]', function(){
|
||||
if($(this).attr('href'))
|
||||
$($(this).data("target")+' .modal-body').load($(this).attr('href'));
|
||||
});
|
||||
}); /* }}} */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user