From fd26dc32afb6617a89befb4e0dac5318b487c287 Mon Sep 17 00:00:00 2001 From: Mark Friedrich Date: Fri, 8 Dec 2017 20:39:57 +0100 Subject: [PATCH] - fixed a bug where new "active" status of a connection was saved to DB (this is client info only) --- js/app/map/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app/map/util.js b/js/app/map/util.js index ce2ecef7..0b927aa3 100644 --- a/js/app/map/util.js +++ b/js/app/map/util.js @@ -254,7 +254,7 @@ define([ // normalize connection array connectionTypes = $.grep(connectionTypes, function(n){ // 'default' is added by jsPlumb by default -_- - return ( n.length > 0 && n !== 'default'); + return ( n.length > 0 && n !== 'default' && n !== 'active'); }); let data = {