diff --git a/app/js/app-utilities.js b/app/js/app-utilities.js index 59d63e74..2c1a647d 100644 --- a/app/js/app-utilities.js +++ b/app/js/app-utilities.js @@ -3727,7 +3727,6 @@ appUtilities.resizeNodesToContent = function(nodes){ if(collection.length == 1 && (collection[0].isParent() || collection[0].data('collapsedChildren')) && collection[0].selected()) { cy.$(':selected').trigger('select'); }; - }; appUtilities.transformClassInfo = function( classInfo ) { diff --git a/app/js/backbone-views.js b/app/js/backbone-views.js index 9c7fde44..f30333ee 100644 --- a/app/js/backbone-views.js +++ b/app/js/backbone-views.js @@ -3727,12 +3727,10 @@ var FileSaveView = Backbone.View.extend({ }); } else if (mapType === "SBML") { chiseInstance.saveSbmlForSBML(filename, function (data, errorMessage) { - var promptSbmlConversionErrorView = - new PromptSbmlConversionErrorView({ - el: "#prompt-sbmlConversionError-table", - }); - promptSbmlConversionErrorView.render(data, errorMessage); - //document.getElementById("file-conversion-error-message").innerText = "Conversion service is not available!"; + var exportError = new ExportErrorView({el: "#exportError-table"}); + exportError.render(); + document.getElementById("export-error-message").innerText + = "SBML export failed. Please check if the map is valid!"; }); } diff --git a/index.html b/index.html index 3a281add..4cebce64 100644 --- a/index.html +++ b/index.html @@ -3355,7 +3355,7 @@