- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 05 Mar 2010 14:06:11 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action
In directory hutz:/tmp/cvs-serv21392/src/org/w3c/unicorn/action
Modified Files:
LanguageAction.java
Log Message:
Fixed bug where modifications had to be done to both tasklist and interface properties for the mail to be sent
Index: LanguageAction.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/LanguageAction.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- LanguageAction.java 5 Mar 2010 13:48:42 -0000 1.20
+++ LanguageAction.java 5 Mar 2010 14:06:08 -0000 1.21
@@ -240,7 +240,7 @@
}
}
- if (!interfaceChanged || !tasklistChanged) {
+ if (!interfaceChanged && !tasklistChanged) {
MessageList messages = new MessageList();
messages.add(new Message(Message.WARNING, "You haven't made any changes."));
req.setAttribute("messages", messages);
@@ -284,6 +284,8 @@
contextObjects.put("language", Language.getLocale(languageParameter).getDisplayLanguage(Locale.ENGLISH));
contextObjects.put("interfaceChangeLog", interfaceChangeLog);
contextObjects.put("tasklistChangeLog", tasklistChangeLog);
+ contextObjects.put("interfaceChanged", interfaceChanged);
+ contextObjects.put("tasklistChanged", tasklistChanged);
langProps.remove("lang");
langProps.remove("language");
Received on Friday, 5 March 2010 14:06:12 UTC