Commit 621da581 authored by Quentin Torck's avatar Quentin Torck
Browse files

Fix : DLCM-1314 DLCM-1328

patch jsmol to fix issue with view2d
parent 33d1aa74
This diff is collapsed.
......@@ -151,7 +151,7 @@ Jmol.show2d(jmol, true);
iframe.contentWindow.document.write(html);
iframe.contentWindow.document.close();
iframe.width = "500px";
iframe.height = "490px";
iframe.height = "440px";
iframe.style.border = "0";
const x = document.getElementById("visualizationMolIfrane") as any;
const button2d = x.contentDocument.getElementById("2d");
......
......@@ -85,7 +85,7 @@ function readMolFile() {
iframe.contentWindow.document.write(html);
iframe.contentWindow.document.close();
iframe.width = "500px";
iframe.height = "490px";
iframe.height = "440px";
iframe.style.border = "0";
const x = document.getElementById("visualizationMolIfrane") as any;
let y = (x.contentWindow || x.contentDocument);
......
......@@ -1515,7 +1515,7 @@
"success": "The deposit may now be modified"
},
"download": {
"fail": "Something went wrong during the download process"
"fail": "Something went wrong during the visualization process, the file can't be read"
},
"reject": {
"fail": "There was an error when rejecting the deposit",
......
......@@ -1515,7 +1515,7 @@
"success": "The deposit may now be modified"
},
"download": {
"fail": "Something went wrong during the download process"
"fail": "Something went wrong during the visualization process, the file can't be open"
},
"reject": {
"fail": "There was an error when rejecting the deposit",
......
......@@ -1515,7 +1515,7 @@
"success": "Le dépôt peut à nouveau être modifié"
},
"download": {
"fail": "Il y a eu une erreur lors du téléchargement du document"
"fail": "Il y a eu une erreur lors de la préparation de la prévisualisation, le fichier ne peut pas etre prévisualisé"
},
"reject": {
"fail": "Il y a eu une erreur lors du refus du dépôt",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment