function insertBefore(targetElement, targetScope) {
            // Ensure the placeholder is visible in the target (unless it's a table row)
            if (placeHolder.css('display') !== 'table-row') {
              placeHolder.css('display', 'block');
            }
            if (!targetScope.sortableScope.options.clone) {
              targetElement[0].parentNode.insertBefore(placeHolder[0], targetElement[0]);
              dragItemInfo.moveTo(targetScope.sortableScope, targetScope.index());
            }
          }
function insertBefore(targetElement, targetScope) {
            // Ensure the placeholder is visible in the target (unless it's a table row)
            if (placeHolder.css('display') !== 'table-row') {
              placeHolder.css('display', 'block');
            }
            if (!targetScope.sortableScope.options.clone) {
              targetElement[0].parentNode.insertBefore(placeHolder[0], targetElement[0]);
              dragItemInfo.moveTo(targetScope.sortableScope, targetScope.index());
            }
          }
function insertBefore ( targetElement , targetScope ) { // Ensure the placeholder is visible in the target (unless it's a table row) if ( placeHolder . css ( 'display' ) !== 'table-row' ) { placeHolder . css ( 'display' , 'block' ) ; } if ( ! targetScope . sortableScope . options . clone ) { targetElement [ 0 ] . parentNode . insertBefore ( placeHolder [ 0 ] , targetElement [ 0 ] ) ; dragItemInfo . moveTo ( targetScope . sortableScope , targetScope . index ( ) ) ; } }
Inserts the placeHolder in to the targetScope.

@param targetElement the target element
@param targetScope the target scope
Inserts the placeHolder in to the targetScope .