diff --git a/app/js/backbone-views.js b/app/js/backbone-views.js index 3a28bff9..4f027948 100644 --- a/app/js/backbone-views.js +++ b/app/js/backbone-views.js @@ -3026,6 +3026,9 @@ var PathsByURIQueryView = Backbone.View.extend({ "query-pathsbyURI-URI" ).value; var uri = self.currentQueryParameters.URI.trim(); + var removeDisconnected = document.getElementById( + "query-pathsbyURI-checkbox" + ).checked; if (uri.length === 0) { document.getElementById("query-pathsbyURI-URI").focus(); @@ -3081,7 +3084,8 @@ var PathsByURIQueryView = Backbone.View.extend({ ); currentGeneralProperties.inferNestingOnLoad = currentInferNestingOnLoad; - appUtilities.removeDisconnectedNodesAfterQuery([]); + if(removeDisconnected) + appUtilities.removeDisconnectedNodesAfterQuery([]); $(document).trigger("sbgnvizLoadFileEnd", [filename, cy]); } else { new PromptEmptyQueryResultView({ diff --git a/index.html b/index.html index 90230be6..1f76f7dd 100644 --- a/index.html +++ b/index.html @@ -3800,9 +3800,17 @@