WebContent/js/explore/spaces.js
/**
 * Initializes a table so that elements can be dragged out of it and onto a space name
 * @param table The table to make draggable
 * @author Tyler Jensen & Todd Elvers
 */
Initializes a table so that elements can be dragged out of it and onto a space name
@param table The table to make draggable
@author Tyler Jensen & Todd Elvers
Initializes a table so that elements can be dragged out of it and onto a space name @param table The table to make draggable @author Tyler Jensen & Todd Elvers
function initDraggable(table) {
	makeTableDraggable(table, onDragStart, getDragClone);
	$('#trashcan').droppable({
		drop: onTrashDrop,
		tolerance: 'touch',  
		hoverClass: 'hover',  
		activeClass: 'active'  
	});
	$("#trashcan").click(function() {
		window.location.href = starexecRoot + "secure/details/recycleBin.jsp";
	});
}
function initDraggable ( table ) { makeTableDraggable ( table , onDragStart , getDragClone ) ; $ ( '#trashcan' ) . droppable ( { drop : onTrashDrop , tolerance : 'touch' , hoverClass : 'hover' , activeClass : 'active' } ) ; $ ( "#trashcan" ) . click ( function ( ) { window . location . href = starexecRoot + "secure/details/recycleBin.jsp" ; } ) ; }
Initializes a table so that elements can be dragged out of it and onto a space name
 @param table The table to make draggable
 @author Tyler Jensen & Todd Elvers
Initializes a table so that elements can be dragged out of it and onto a space name @param table The table to make draggable @author Tyler Jensen & Todd Elvers
// Make the trash can in the explorer list be a droppable target
 // Use the pointer to determine drop position instead of the middle of the drag clone element
 // Class applied to the space element when something is being dragged over it
 // Class applied to the space element when something is being dragged
 //log($(table).attr('id') + ' table initialized as draggable');
