Merge pull request #4078 from angusmcleod/bugfix/topic#40939-2

Advance draft sequence in PostRevisor if edit contains no changes
This commit is contained in:
Régis Hanol 2016-03-15 09:59:05 +01:00
commit 177294f930
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@ class PostRevisor
POST_TRACKED_FIELDS.each do |field|
return true if @fields.has_key?(field) && @fields[field] != @post.send(field)
end
advance_draft_sequence
false
end