SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 34f3b65c authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Add error info to ticket preview

parent 1fc8ad7d
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ $('#runPreviewButton').on('click', function(){
MathJax.Hub.Queue(["Typeset",MathJax.Hub, preview]);
},
error: function(data) {
alert("An error has occurred while processing the text.");
alert("An error has occurred while processing the text:\n\n." + data);
}
});
$('#runPreviewButton').hide();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment