$dataTwo.droppable({
accept: "#dataOne li",
activeClass: "ui-state-highlight",
drop: function( event, ui ) {
ui.draggable.draggable('option','disabled',true);
$( this ).find( ".placeholder" ).remove();
/*Remove default placeholder from right div*/
var $dragTabs=ui.draggable.clone();
if($dragTabs.context.children[1].childElementCount>0){
$dragTabs.find('li').append("<div class='customize'><button class='edit'>edit</button><button class='remove'>remove</button></div>");
$dragTabs.appendTo(this);
}else{
$dragTabs.append("<div class='customize'><button class='edit'>edit</button><button class='remove'>remove</button></div>");
var wrapvar = ui.helper.context.parentNode.parentNode.parentNode.className;
var hfour = $('.'+wrapvar).find('h4').text();
console.log(hfour);
$dragTabs.appendTo(this);
var modli = $(this).context;
modli.lastChild.className = wrapvar;
$("#list_c "+wrapvar).wrap("<div></div>");
}
}
});