Author: xlawrence
Date: Thu Aug 17 14:33:29 2006
New Revision: 14931

URL: https://svndev.jahia.net/websvn/listing.php?sc=1&rev=14931&repname=jahia
Log:
move input name="addNew" into addcontainer jsp

Modified:
    trunk/core/src/webapp/jsp/jahia/engines/addcontainer/addcontainer.jsp
    trunk/core/src/webapp/jsp/jahia/engines/containeredit/containeredit.jsp

Modified: trunk/core/src/webapp/jsp/jahia/engines/addcontainer/addcontainer.jsp
URL: 
https://svndev.jahia.net/websvn/diff.php?path=/trunk/core/src/webapp/jsp/jahia/engines/addcontainer/addcontainer.jsp&rev=14931&repname=jahia
==============================================================================
--- trunk/core/src/webapp/jsp/jahia/engines/addcontainer/addcontainer.jsp 
(original)
+++ trunk/core/src/webapp/jsp/jahia/engines/addcontainer/addcontainer.jsp Thu 
Aug 17 14:33:29 2006
@@ -78,6 +78,7 @@
 <jsp:include page="../containeredit/containeredit.jsp" flush="true" />
 <!-- end Containeredit -->
 <% } %>
+<input type="hidden" name="addnew" value="false"/>
 
 <%
     if (theScreen.equals("logs")) {

Modified: 
trunk/core/src/webapp/jsp/jahia/engines/containeredit/containeredit.jsp
URL: 
https://svndev.jahia.net/websvn/diff.php?path=/trunk/core/src/webapp/jsp/jahia/engines/containeredit/containeredit.jsp&rev=14931&repname=jahia
==============================================================================
--- trunk/core/src/webapp/jsp/jahia/engines/containeredit/containeredit.jsp 
(original)
+++ trunk/core/src/webapp/jsp/jahia/engines/containeredit/containeredit.jsp Thu 
Aug 17 14:33:29 2006
@@ -132,9 +132,8 @@
 <% if (fieldID != null) { %>
 <input type="hidden" name="editfid" value="<%=fieldID.intValue()%>"/>
 <input type="hidden" name="lastfid" value="<%=fieldID.intValue()%>"/>
-<% } %>
-<input type="hidden" name="addnew" value="false"/>
-<% if (theContainer != null) { %>
+<% }
+    if (theContainer != null) { %>
 <input type="hidden" name="clistid" value="<%=theContainer.getListID()%>"/>
 <input type="hidden" name="cdefid" value="<%=theContainer.getctndefid()%>"/>
 <input type="hidden" name="cpid" value="<%=theContainer.getPageID()%>"/>

Reply via email to