Coupure prévue mardi 3 Août au matin pour maintenance du serveur. Nous faisons au mieux pour que celle-ci soit la plus brève possible.

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

popravil brisanje povezav

parent ee934432
...@@ -208,6 +208,7 @@ function deleteSelected() { ...@@ -208,6 +208,7 @@ function deleteSelected() {
for (conId in connections) { for (conId in connections) {
if (connections[conId].inputWidget==newSelected||connections[conId].outputWidget==newSelected) { if (connections[conId].inputWidget==newSelected||connections[conId].outputWidget==newSelected) {
$("#drawingcanvas"+conId).remove(); $("#drawingcanvas"+conId).remove();
$("#drawingoutline"+conId).remove();
delete connections[conId]; delete connections[conId];
} }
} }
...@@ -240,6 +241,7 @@ function deleteSelected() { ...@@ -240,6 +241,7 @@ function deleteSelected() {
selectedConnection=-1; selectedConnection=-1;
unfinish(connections[newSelected].inputWidget); unfinish(connections[newSelected].inputWidget);
$("#drawingcanvas"+newSelected).remove(); $("#drawingcanvas"+newSelected).remove();
$("#drawingoutline"+newSelected).remove();
delete connections[newSelected]; delete connections[newSelected];
if (data.refresh!=-1) { if (data.refresh!=-1) {
// refresh widget // 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