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

main.js: takes into account 'autoload' and 'autoload_analysis' from 'conf.js'

parent c80a200a
......@@ -105,7 +105,14 @@ var patient = -1
var dbconfig = -1
var custom_list = []
// Process arguments given on the URL
// Process arguments in conf.js
if (typeof config != 'undefined' && typeof config.autoload != 'undefined')
dataURL = config.autoload
if (typeof config != 'undefined' && typeof config.autoload_analysis != 'undefined')
analysisURL = config.autoload_analysis
// Process arguments given on the URL (overrides conf.js)
if (location.search != '') {
var tmp = location.search.substring(1).split('&')
......
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