Skip to content

Commit

Permalink
item 3 changes #712
Browse files Browse the repository at this point in the history
  • Loading branch information
umut-er committed Aug 6, 2024
1 parent 7dbf9f4 commit 0d21d45
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion app/js/app-utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down
10 changes: 4 additions & 6 deletions app/js/backbone-views.js
Original file line number Diff line number Diff line change
Expand Up @@ -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!";
});
}

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3355,7 +3355,7 @@ <h4 class="modal-title">Error</h4>

<!-- Export error warning -->
<script type="text/template" id="export-Error-template">
<div class="modal-dialog sbgn-modal-dialog" style="width: 300px;">
<div class="modal-dialog sbgn-modal-dialog" style="width: 350px;">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
Expand Down

0 comments on commit 0d21d45

Please sign in to comment.