- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 28 Jul 2009 10:56:58 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/resources/templates/index In directory hutz:/tmp/cvs-serv28313/resources/templates/index Modified Files: en_parameters.js.vm Log Message: Modifying UNICORN_PARAMETER_PREFIX now works Index: en_parameters.js.vm =================================================================== RCS file: /sources/public/2006/unicorn/resources/templates/index/en_parameters.js.vm,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- en_parameters.js.vm 19 Sep 2008 18:57:13 -0000 1.4 +++ en_parameters.js.vm 28 Jul 2009 10:56:56 -0000 1.5 @@ -76,7 +76,7 @@ #end #macro(createMimes $task) - '<select name="ucn_text_mime">' + + '<select name="${param_prefix}text_mime">' + #foreach($mime in $task.SupportedMimeTypes) '<option value="$mime">$mime</option>' + #end @@ -132,12 +132,12 @@ // mimetypes dropdown if(method == 2) { - document.getElementById("ucn_text_mime").innerHTML = mimeContainer[value]; + document.getElementById("${param_prefix}text_mime").innerHTML = mimeContainer[value]; } } function init() { - var tasklists = document.getElementsByName('ucn_task'); + var tasklists = document.getElementsByName('${param_prefix}task'); for(var i = 0; i < tasklists.length; i++) { taskChanged(tasklists[i].options[tasklists[i].options.selectedIndex].value, i); }
Received on Tuesday, 28 July 2009 10:57:09 UTC