shuber 2004/12/23 12:36:41 CET
Modified files:
core/src/java/org/jahia/engines/shared Page_Field.java
Log:
Bugfix : allow changing the title back to the active title, which was not
possible before.
Revision Changes Path
1.16 +1 -1
jahia/core/src/java/org/jahia/engines/shared/Page_Field.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/java/org/jahia/engines/shared/Page_Field.java.diff?r1=1.15&r2=1.16&f=h
Index: Page_Field.java
===================================================================
RCS file:
/home/cvs/repository/jahia/core/src/java/org/jahia/engines/shared/Page_Field.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- Page_Field.java 8 Dec 2004 17:45:22 -0000 1.15
+++ Page_Field.java 23 Dec 2004 11:36:41 -0000 1.16
@@ -737,7 +737,7 @@
// Set Jahia page titles only if changed.
if (contentPage != null &&
(contentPage.hasActiveEntries()||contentPage.hasStagingEntries())) {
Enumeration titlesEnum = pageBean.getTitles().keys();
- Hashtable contentPageTitles = contentPage.getTitles(false);
+ Hashtable contentPageTitles = contentPage.getTitles(true);
// Look for all page titles stored in the page bean and set the
page
// that has changed.
boolean titleHasChanged = false;