From 1557ac52fc22ae26ffebe7180a6fa386b38de2fc Mon Sep 17 00:00:00 2001 From: ivanPozdnyakov Date: Tue, 12 Jan 2016 10:35:31 -0500 Subject: [PATCH] stupid color spray error, prevented multi-pathway merging, now fixed --- VQI_PathwayEditor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VQI_PathwayEditor.js b/VQI_PathwayEditor.js index 82bbf99..ecb3086 100755 --- a/VQI_PathwayEditor.js +++ b/VQI_PathwayEditor.js @@ -1483,7 +1483,6 @@ var VQI_PathwayEditor = function (parent) { function editNodeMUT() { var mut = document.getElementById(parent + "-mut").value; selectedForEditNodes.data('mut', mut); - dialogNode.dialog("close"); saveState(); } @@ -2065,7 +2064,8 @@ var VQI_PathwayEditor = function (parent) { }); saveState(); - sprayColor(self.sprayData); + if(typeof(self.sprayColor) != "undefined") + sprayColor(self.sprayData); }, // initial viewport state: zoom: 1,