Last change
on this file since 165 was
89,
checked in by fpvanagthoven, 14 years ago
|
Applications can now be loaded, however, description seems not to load.
|
File size:
991 bytes
|
Line | |
---|
1 | function loadSurvey() |
---|
2 | { |
---|
3 | var form = document.getElementById('loadForm'); |
---|
4 | var select = document.getElementById('surveysToLoad'); |
---|
5 | var surveyUID = select.valueOf().value; |
---|
6 | |
---|
7 | if (surveyUID != '') |
---|
8 | { |
---|
9 | var surveyInput = document.createElement('input'); |
---|
10 | surveyInput.name = "UID"; |
---|
11 | surveyInput.value = surveyUID; |
---|
12 | surveyInput.type = "hidden"; |
---|
13 | |
---|
14 | form.appendChild(surveyInput); |
---|
15 | |
---|
16 | form.submit(); |
---|
17 | } |
---|
18 | } |
---|
19 | |
---|
20 | function loadApplication() |
---|
21 | { |
---|
22 | var form = document.getElementById('loadApplicationForm'); |
---|
23 | var select = document.getElementById('applicationsToLoad'); |
---|
24 | var applicationUID = select.valueOf().value; |
---|
25 | |
---|
26 | if (applicationUID != '') |
---|
27 | { |
---|
28 | var applicationInput = document.createElement('input'); |
---|
29 | applicationInput.name = 'applicationUID'; |
---|
30 | applicationInput.value = applicationUID; |
---|
31 | applicationInput.type = "hidden"; |
---|
32 | |
---|
33 | form.appendChild(applicationInput); |
---|
34 | form.submit(); |
---|
35 | } |
---|
36 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.