Commit be50fd78 authored by pborate's avatar pborate

Updated local2do/index.html

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@176795 ce508802-f39f-4f6c-b175-0d175dae99d5
parent adc37b3d
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<head> <head>
<script type="text/javascript"> <script type="text/javascript">
var SYS_REST_ENTRY = '/ibase/ecm/service/sys'; var SYS_REST_ENTRY = '/ibase/ecm/service/sys';
var siteCode = 'L2D01'; var siteCode = 'L2D01';
function postSite(path, callback) function postSite(path, callback)
{ {
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
} }
} }
}; };
xhttp.open("POST", url, true); xhttp.open("GET", url, true);
xhttp.setRequestHeader("Accept", "application/json"); xhttp.setRequestHeader("Accept", "application/json");
xhttp.setRequestHeader('Content-Type', 'application/json') xhttp.setRequestHeader('Content-Type', 'application/json')
xhttp.send(); xhttp.send();
...@@ -30,8 +30,9 @@ ...@@ -30,8 +30,9 @@
} }
</script> </script>
</head> </head>
<!-- Temporary Site Code paased hardcoded : L2D01 --> Temporary Site Code paased hardcoded : L2D01
<body onload=" postSite('/site/' + siteCode, loadApp)"> <body onload=" postSite('/site/' + siteCode, loadApp)">
Loading Local2do Catalog... <!-- Loading Local2do Catalog... -->
</body> </body>
</html> </html>
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