Update of /cvsroot/monetdb/pathfinder/runtime/xrpc/admin
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv348

Modified Files:
      Tag: XQuery_0-16
        index.html 
Log Message:
"const" is only supported by JavaScript 2.0 and Firefox, on IE, it
results in the errors:

- syntax error in line 6
- line 317 'Object expected'





Index: index.html
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/xrpc/admin/index.html,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -d -r1.1.2.4 -r1.1.2.5
--- index.html  22 Feb 2007 18:41:06 -0000      1.1.2.4
+++ index.html  4 Mar 2007 19:01:21 -0000       1.1.2.5
@@ -4,11 +4,11 @@
        
 <script type="text/javascript">
 
-const ADMIN_CALLBACK = "mxqadmin";
-const XRPC_SERVER_ADDR = (new 
String(document.location)).replace("admin",ADMIN_CALLBACK);
-const MODULE = "http://monetdb.cwi.nl/XQuery/admin/";;
-const LOCATION = document.location + "admin.xq";
-const REQ_HEADER = '<?xml version="1.0" encoding="utf-8"?>\n' +
+var ADMIN_CALLBACK = "mxqadmin";
+var XRPC_SERVER_ADDR = (new 
String(document.location)).replace("admin",ADMIN_CALLBACK);
+var MODULE = "http://monetdb.cwi.nl/XQuery/admin/";;
+var LOCATION = document.location + "admin.xq";
+var REQ_HEADER = '<?xml version="1.0" encoding="utf-8"?>\n' +
                    '<env:Envelope ' +
                        'xmlns:env="http://www.w3.org/2003/05/soap-envelope"; ' +
                        'xmlns:xrpc="http://monetdb.cwi.nl/XQuery"; ' +
@@ -19,7 +19,7 @@
                      '<env:Body>' +
                        '<xrpc:request xrpc:module="' + MODULE + '" ' +
                                      'xrpc:location="' + LOCATION + '" ';
-const REQ_FOOTER = '</xrpc:request></env:Body></env:Envelope>';
+var REQ_FOOTER = '</xrpc:request></env:Body></env:Envelope>';
 
 XRPCWebClient = function () {
     if (window.XMLHttpRequest) {


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to