Commit 8ae0d87e authored by Janez K's avatar Janez K
Browse files

popravil brisanje povezav

parent ee934432
......@@ -208,6 +208,7 @@ function deleteSelected() {
for (conId in connections) {
if (connections[conId].inputWidget==newSelected||connections[conId].outputWidget==newSelected) {
$("#drawingcanvas"+conId).remove();
$("#drawingoutline"+conId).remove();
delete connections[conId];
}
}
......@@ -240,6 +241,7 @@ function deleteSelected() {
selectedConnection=-1;
unfinish(connections[newSelected].inputWidget);
$("#drawingcanvas"+newSelected).remove();
$("#drawingoutline"+newSelected).remove();
delete connections[newSelected];
if (data.refresh!=-1) {
// refresh widget
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment