Introduce JCRX checksum and improve JCR last modified routines.
[lgpl/argeo-commons.git] / org.argeo.cms.ui / src / org / argeo / cms / ui / forms / FormPageViewer.java
index 3ae2036ae8e221849aff86c9929ddd943b24c394..8f0685280232ddb54cdfc3692f06ba588c42e6fa 100644 (file)
@@ -142,7 +142,7 @@ public class FormPageViewer extends AbstractPageViewer {
                // TODO: make this configurable, sometimes we do not want to save the
                // current session at this stage
                if (node != null && node.getSession().hasPendingChanges()) {
-                       JcrUtils.updateLastModified(node);
+                       JcrUtils.updateLastModified(node, true);
                        node.getSession().save();
                }
        }