Hi,
Prior to saving, you can :
$doc.getDocument().setMetaDataDirty(false)
$doc.getDocument().setContentDirty(false)
Hope this helps,
Jeremie
2014-05-26 13:42 GMT+02:00 walid yaich <walid.yaich(a)gmail.com>om>:
Hi,
I added $doc.save() in contentview.vm to save the object added to my doc,
this save increment the revision.
is it possible to tell the save to not increment the version ?
Thanks in advance :)
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs