Commit b6cea333 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

js/germline_builder.js: catch the error when js/germline.js does not exist

This is the first thing the user will see when he downloads the browser
without retrieving the germlines.
parent 7efeb950
......@@ -61,7 +61,12 @@ GermlineList.prototype = {
fallbackLoad : function () {
this.list = germline_data
try {
this.list = germline_data
myConsole.popupMsg("Incorrect browser installation, 'js/germline.js' is not found<br />please run 'make' in 'germline/'")
//add a list of custom germlines
Markdown is supported
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