W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2009

2006/unicorn/src/org/w3c/unicorn/action IndexAction.java,1.22,1.23

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 30 Sep 2009 09:32:02 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MsvXW-0007G3-Pj@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action
In directory hutz:/tmp/cvs-serv27799/src/org/w3c/unicorn/action

Modified Files:
	IndexAction.java 
Log Message:
added mimeType list change on task change

Index: IndexAction.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/IndexAction.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- IndexAction.java	24 Sep 2009 17:39:54 -0000	1.22
+++ IndexAction.java	30 Sep 2009 09:32:00 -0000	1.23
@@ -121,6 +121,7 @@
 		
 		PrintWriter writer = resp.getWriter();
 		if (req.getHeader("X-Requested-With") != null && req.getHeader("X-Requested-With").equals("XMLHttpRequest")) {
+			velocityContext.put("ajaxCall", "true");
 			Templates.write("parameters.vm", velocityContext, writer);
 		} else {
 			Templates.write("index.vm", velocityContext, writer);
Received on Wednesday, 30 September 2009 09:32:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:14 GMT