WebContent/js/explore/spaces.js
/**
 * Creates either a leader tooltip, a personal tooltip, a space tooltip, or a expd tooltip for a given element
 * @author Todd Elvers
 */
Creates either a leader tooltip, a personal tooltip, a space tooltip, or a expd tooltip for a given element
@author Todd Elvers
Creates either a leader tooltip a personal tooltip a space tooltip or a expd tooltip for a given element @author Todd Elvers
function createTooltip(element, selector, type, message) {
	if (type[0] == 'l') {
		$(element).on('mouseenter mouseleave', selector, function() {
			if (!$(this).data("qtip")) {
				configuration = getTooltipConfig(type, message);
				$(this).qtip(configuration);
			}
		});
	}
	else if (type[0] == 'p') {
		$(element).on('mouseenter mouseleave', selector, function() {
			if ($(this).find("td input[name=\"currentUser\"]").size() > 0) {
				if (!$(this).data("qtip")) {
					$(this).qtip(getTooltipConfig(type, message));
				}
			}
		});
	}
	else if (type[0] == 'e') {
		if (!$(element).data("qtip")) {
			$(element).qtip(getTooltipConfig(type, message));
		}
	}
	log('tooltip created of type ' + type);
}
function createTooltip ( element , selector , type , message ) { if ( type [ 0 ] == 'l' ) { $ ( element ) . on ( 'mouseenter mouseleave' , selector , function ( ) { if ( ! $ ( this ) . data ( "qtip" ) ) { configuration = getTooltipConfig ( type , message ) ; $ ( this ) . qtip ( configuration ) ; } } ) ; } else if ( type [ 0 ] == 'p' ) { $ ( element ) . on ( 'mouseenter mouseleave' , selector , function ( ) { if ( $ ( this ) . find ( "td input[name=\"currentUser\"]" ) . size ( ) > 0 ) { if ( ! $ ( this ) . data ( "qtip" ) ) { $ ( this ) . qtip ( getTooltipConfig ( type , message ) ) ; } } } ) ; } else if ( type [ 0 ] == 'e' ) { if ( ! $ ( element ) . data ( "qtip" ) ) { $ ( element ) . qtip ( getTooltipConfig ( type , message ) ) ; } } log ( 'tooltip created of type ' + type ) ; }
Creates either a leader tooltip, a personal tooltip, a space tooltip, or a expd tooltip for a given element
 @author Todd Elvers
Creates either a leader tooltip a personal tooltip a space tooltip or a expd tooltip for a given element @author Todd Elvers
/**
	 * Tooltips for displaying to a leader what a particular user's permissions are in a given space;
	 * these persist until a new space is selected in the space explorer
	 */ // Check and see if a qtip object already exists
 // If not, create one with the relevant configuration
 /* Tooltips for displaying to a user what their permission are for a given space in the space explorer;
	 * these persist forever and are never removed from the page
	 */ //only add this to the row for the current user
 /* Tooltips for displaying to the user what their permissions are in a given fieldset, shown from
	 * the expd class; these are removed from the page when a new space in the space explorer is selected
	 */