-
Notifications
You must be signed in to change notification settings - Fork 0
/
interfaceCodeOptions.js
26 lines (21 loc) · 1.22 KB
/
interfaceCodeOptions.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
function infoInterfaceBuilder() {
if(parent.main.display.document.getElementById('url'))
url = parent.main.display.document.getElementById('url').value;
if(parent.main.display.document.getElementById('key'))
key = parent.main.display.document.getElementById('key').value;
project_id = parent.main.display.document.getElementById('project_id').value;
toOpen = "interfaceBuilder.php?url=" +url+ "&key=" +key+ "&project_id=" + project_id;
return toOpen;
}
function infoImportData() {
if(parent.main.display.document.getElementById('url'))
url = parent.main.display.document.getElementById('url').value;
if(parent.main.display.document.getElementById('key'))
key = parent.main.display.document.getElementById('key').value;
if(parent.main.display.document.getElementById('project_id'))
project_id = parent.main.display.document.getElementById('project_id').value;
if(parent.main.display.document.getElementById('collection_id'))
collection_id = parent.main.display.document.getElementById('collection_id').value;
if(url || key || project_id || collection_id)
toOpen = "import/importData.php?url=" +url+ "&key=" +key+ "&project_id=" + project_id '&collection_id'+collection_id;
}