- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 21 Aug 2009 15:03:18 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/WebContent/scripts
In directory hutz:/tmp/cvs-serv21203/WebContent/scripts
Modified Files:
Tag: dev2
w3c-validator.js
Log Message:
ajax request location not hard-coded anymore
Index: w3c-validator.js
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/scripts/Attic/w3c-validator.js,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -u -d -r1.1.2.6 -r1.1.2.7
--- w3c-validator.js 21 Aug 2009 11:28:20 -0000 1.1.2.6
+++ w3c-validator.js 21 Aug 2009 15:03:16 -0000 1.1.2.7
@@ -80,7 +80,8 @@
});
event.stop();
var taskId = this.options[this.selectedIndex].value;
- var req = new Request.HTML({url: '/unicorn_dev/',
+
+ var req = new Request.HTML({url: window.location.pathname,
method: 'get',
onRequest: function() {
$$('div.options_container').each(function (div) {
Received on Friday, 21 August 2009 15:03:28 UTC