mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
New maps in progress... (remove useless code)
This commit is contained in:
parent
5c3aa3ce07
commit
5404d9cff0
@ -281,31 +281,24 @@ MapController.prototype.tooltip_map_create = function(self, target) {
|
|||||||
var data_id = parseInt(nodeTarget.data("id"));
|
var data_id = parseInt(nodeTarget.data("id"));
|
||||||
var data_graph_id = parseInt(nodeTarget.data("graph_id"));
|
var data_graph_id = parseInt(nodeTarget.data("graph_id"));
|
||||||
|
|
||||||
//~ if (this.containsTooltipId(node_id)) {
|
nodeTarget.tooltipster({
|
||||||
//~ nodeTarget.tooltipster('content', spinner);
|
arrow: true,
|
||||||
//~ self.nodeData(data_id, type, self._id, data_graph_id, nodeTarget, node_id);
|
trigger: 'click',
|
||||||
//~ nodeTarget.tooltipster("option", "offsetX", nodeR);
|
contentAsHTML: true,
|
||||||
//~ }
|
autoClose: false,
|
||||||
//~ else {
|
offsetX: nodeR,
|
||||||
nodeTarget.tooltipster({
|
theme: 'tooltipster-noir',
|
||||||
arrow: true,
|
multiple: true,
|
||||||
trigger: 'click',
|
interactive: true,
|
||||||
contentAsHTML: true,
|
content: spinner,
|
||||||
autoClose: false,
|
restoration: 'none',
|
||||||
offsetX: nodeR,
|
functionBefore: function(origin, continueTooltip) {
|
||||||
theme: 'tooltipster-noir',
|
continueTooltip();
|
||||||
multiple: true,
|
self.nodeData(data_id, type, self._id, data_graph_id, origin, node_id);
|
||||||
interactive: true,
|
}
|
||||||
content: spinner,
|
});
|
||||||
restoration: 'none',
|
|
||||||
functionBefore: function(origin, continueTooltip) {
|
nodeTarget.tooltipster("show");
|
||||||
continueTooltip();
|
|
||||||
self.nodeData(data_id, type, self._id, data_graph_id, origin, node_id);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
nodeTarget.tooltipster("show");
|
|
||||||
//~ }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user