This commit is contained in:
Kevin Jahns
2015-04-28 16:07:45 +02:00
parent 85d85540e7
commit bad6c913fc
11 changed files with 206 additions and 178 deletions

View File

@@ -507,7 +507,9 @@ module.exports = ()->
@getLastOperation().isDeleted()
deleteContent: ()->
(new ops.Delete null, undefined, @getLastOperation().uid).execute()
last_op = @getLastOperation()
if (not last_op.isDeleted()) and last_op.type isnt "Delimiter"
(new ops.Delete null, undefined, @getLastOperation().uid).execute()
undefined
#