6160 |
04 Mar 21 |
nicklas |
var IndexAdmin = function() |
6160 |
04 Mar 21 |
nicklas |
2 |
{ |
6160 |
04 Mar 21 |
nicklas |
var index = {}; |
6160 |
04 Mar 21 |
nicklas |
var debug = 0; |
6160 |
04 Mar 21 |
nicklas |
5 |
|
6160 |
04 Mar 21 |
nicklas |
index.initPage = function() |
6160 |
04 Mar 21 |
nicklas |
7 |
{ |
6160 |
04 Mar 21 |
nicklas |
VarSearch.checkIsAdmin('Variant Search (admin)'); |
6700 |
26 Apr 22 |
nicklas |
var url = '../Admin.servlet?ID=' + App.getSessionId(); |
6700 |
26 Apr 22 |
nicklas |
url += '&cmd=GetVersionInfo'; |
6700 |
26 Apr 22 |
nicklas |
Wizard.asyncJsonRequest(url, index.versionInfoLoaded); |
6160 |
04 Mar 21 |
nicklas |
12 |
} |
6160 |
04 Mar 21 |
nicklas |
13 |
|
6700 |
26 Apr 22 |
nicklas |
index.versionInfoLoaded = function(response) |
6700 |
26 Apr 22 |
nicklas |
15 |
{ |
6700 |
26 Apr 22 |
nicklas |
Doc.element('luceneVersion').innerHTML = response.luceneVersion; |
6700 |
26 Apr 22 |
nicklas |
Doc.element('varsearchVersion').innerHTML = response.version; |
6700 |
26 Apr 22 |
nicklas |
18 |
} |
6700 |
26 Apr 22 |
nicklas |
19 |
|
6160 |
04 Mar 21 |
nicklas |
return index; |
6160 |
04 Mar 21 |
nicklas |
21 |
}(); |
6160 |
04 Mar 21 |
nicklas |
22 |
|
6160 |
04 Mar 21 |
nicklas |
Doc.onLoad(IndexAdmin.initPage); |
6160 |
04 Mar 21 |
nicklas |
24 |
|