I am facing a drag and drop issue for an event executing for the first time. That issue is related to the position of the image when I drag and drop it to another place for the first time.
Here is the code :
$(document).on("click", ".make_pdf", function(){
var url = $(this).attr('url');
$('.modal-body').html('Loading...');
$('.modal-body').load(url,function(result){
$('#make-pdf').modal({show:true});
$( this ).children('.user-settings').children('.pdf-list').children('#sortable').sortable();
$( this ).children('.user-settings').children('.pdf-list').children('#sortable').disableSelection();
});
});
For more information. This drag and drop works properly without the modal so please can you any one help to solve this with the bootstrap modal?
Here js fiddle link. https://jsfiddle.net/zrLv0ogj/11/ Please increase the height and width of the output window in jsfiddle.
Jsfiddle Image link. http://prntscr.com/kp1axw
