This is the line that code breaks:
$('.blockEditor[containerId="212"]').draggable({opacity: 0.7, revert: true, scroll: true} )
.droppable({
accept:'.blockEditor[containerId="212"]',
over: function(ev,ui) {
$(this).addClass( parseInt($(this).attr('index')) < parseInt($(ui.draggable).attr('index')) ? 'upline' : 'underline');},
out: function(ev,ui) {
$(this).removeClass('upline').removeClass('underline');},
drop:function(ev,ui) {
//alert($(ui.draggable).attr('index') + ':' + $(this).attr('index'));
$('#ctl00_masterContainerTop_hidMoveInfo212').val($(ui.draggable).attr('blockId') + ':' + $(this).attr('blockId'));
$('#ctl00_masterContainerTop_btnPostBackButton212').click();
}
}).hide().show();
|