- fixed broken "deleteConnection" JS function after jsPlumb upgrade
This commit is contained in:
@@ -699,9 +699,8 @@ define([
|
||||
$(tabContentElement).trigger('pf:removeSystemModules');
|
||||
}
|
||||
|
||||
// remove endpoints and their connections
|
||||
// do not fire a "connectionDetached" event
|
||||
map.detachAllConnections(system, {fireEvent: false});
|
||||
// remove connections do not fire a "connectionDetached" event
|
||||
map.deleteConnectionsForElement(system, {fireEvent: false});
|
||||
|
||||
// destroy tooltip/popover
|
||||
system.toggleSystemTooltip('destroy', {});
|
||||
|
||||
@@ -699,9 +699,8 @@ define([
|
||||
$(tabContentElement).trigger('pf:removeSystemModules');
|
||||
}
|
||||
|
||||
// remove endpoints and their connections
|
||||
// do not fire a "connectionDetached" event
|
||||
map.detachAllConnections(system, {fireEvent: false});
|
||||
// remove connections do not fire a "connectionDetached" event
|
||||
map.deleteConnectionsForElement(system, {fireEvent: false});
|
||||
|
||||
// destroy tooltip/popover
|
||||
system.toggleSystemTooltip('destroy', {});
|
||||
|
||||
Reference in New Issue
Block a user