public/dashboard/bower_components/admin-lte/plugins/datatables/extensions/ColReorder/js/dataTables.colReorder.js
function ( e )
	{
		var that = this;

		$(document).off( 'mousemove.ColReorder mouseup.ColReorder' );

		if ( this.dom.drag !== null )
		{
			/* Remove the guide elements */
			this.dom.drag.remove();
			this.dom.pointer.remove();
			this.dom.drag = null;
			this.dom.pointer = null;

			/* Actually do the reorder */
			this.s.dt.oInstance.fnColReorder( this.s.mouse.fromIndex, this.s.mouse.toIndex );
			this._fnSetColumnIndexes();

			/* When scrolling we need to recalculate the column sizes to allow for the shift */
			if ( this.s.dt.oScroll.sX !== "" || this.s.dt.oScroll.sY !== "" )
			{
				this.s.dt.oInstance.fnAdjustColumnSizing( false );
			}

			/* Save the state */
			this.s.dt.oInstance.oApi._fnSaveState( this.s.dt );

			if ( this.s.reorderCallback !== null )
			{
				this.s.reorderCallback.call( this );
			}
		}
	}
function ( e )
	{
		var that = this;

		$(document).off( 'mousemove.ColReorder mouseup.ColReorder' );

		if ( this.dom.drag !== null )
		{
			/* Remove the guide elements */
			this.dom.drag.remove();
			this.dom.pointer.remove();
			this.dom.drag = null;
			this.dom.pointer = null;

			/* Actually do the reorder */
			this.s.dt.oInstance.fnColReorder( this.s.mouse.fromIndex, this.s.mouse.toIndex );
			this._fnSetColumnIndexes();

			/* When scrolling we need to recalculate the column sizes to allow for the shift */
			if ( this.s.dt.oScroll.sX !== "" || this.s.dt.oScroll.sY !== "" )
			{
				this.s.dt.oInstance.fnAdjustColumnSizing( false );
			}

			/* Save the state */
			this.s.dt.oInstance.oApi._fnSaveState( this.s.dt );

			if ( this.s.reorderCallback !== null )
			{
				this.s.reorderCallback.call( this );
			}
		}
	}
function ( e ) { var that = this ; $ ( document ) . off ( 'mousemove.ColReorder mouseup.ColReorder' ) ; if ( this . dom . drag !== null ) { /* Remove the guide elements */ this . dom . drag . remove ( ) ; this . dom . pointer . remove ( ) ; this . dom . drag = null ; this . dom . pointer = null ; /* Actually do the reorder */ this . s . dt . oInstance . fnColReorder ( this . s . mouse . fromIndex , this . s . mouse . toIndex ) ; this . _fnSetColumnIndexes ( ) ; /* When scrolling we need to recalculate the column sizes to allow for the shift */ if ( this . s . dt . oScroll . sX !== "" || this . s . dt . oScroll . sY !== "" ) { this . s . dt . oInstance . fnAdjustColumnSizing ( false ) ; } /* Save the state */ this . s . dt . oInstance . oApi . _fnSaveState ( this . s . dt ) ; if ( this . s . reorderCallback !== null ) { this . s . reorderCallback . call ( this ) ; } } }
Finish off the mouse drag and insert the column where needed
@method  _fnMouseUp
@param   event e Mouse event
@returns void
@private
Finish off the mouse drag and insert the column where needed