Merge pull request #2926 from storytouch/addAuthorOnRemoveAttributeOnLine
Update author when removing line attribute from linepull/2935/merge
commit
8df8228a36
|
@ -278,6 +278,9 @@ AttributeManager.prototype = _(AttributeManager.prototype).extend({
|
|||
if (attrib[0] === attributeName && (!attributeValue || attrib[0] === attributeValue)){
|
||||
found = true;
|
||||
return [attributeName, ''];
|
||||
}else if (attrib[0] === 'author'){
|
||||
// update last author to make changes to line attributes on this line
|
||||
return [attributeName, this.author];
|
||||
}
|
||||
return attrib;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue