Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
d542d147
Commit
d542d147
authored
Feb 12, 2015
by
Mathieu Giraud
Browse files
main.js: takes into account 'autoload' and 'autoload_analysis' from 'conf.js'
parent
c80a200a
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/js/main.js
View file @
d542d147
...
...
@@ -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
(
'
&
'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment