Added concurrent editing detection

This commit is contained in:
Marcin Kurczewski
2014-09-25 22:19:15 +02:00
parent a7c07d32df
commit 22b30c3e43
4 changed files with 8 additions and 1 deletions

View File

@ -168,6 +168,7 @@ App.Presenters.PostPresenter = function(
function editPost() {
var $form = $el.find('form');
var formData = {};
formData.seenEditTime = post.lastEditTime;
if (editPrivileges.canChangeContent && postContent) {
formData.content = postContent;