- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 03 Sep 2009 14:04:14 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/WebContent/scripts
In directory hutz:/tmp/cvs-serv25473/WebContent/scripts
Modified Files:
w3c_unicorn_index.js
Log Message:
changing language does not loose the observation parameters
Index: w3c_unicorn_index.js
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/scripts/w3c_unicorn_index.js,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- w3c_unicorn_index.js 1 Sep 2009 13:59:16 -0000 1.6
+++ w3c_unicorn_index.js 3 Sep 2009 14:04:12 -0000 1.7
@@ -75,6 +75,11 @@
}
});
+ $$('ul#lang_choice').getElements('a').each(function (a) {
+ a.addEvent('click', function(event) {
+ this.setProperty('href', this.getProperty('href') + window.location.hash);
+ });
+ });
},
addOptionEvents: function () {
Received on Thursday, 3 September 2009 14:04:25 UTC