Merge pull request #3731 from FinnStutzenstein/MotionCommentsInlineEditingFix

Fixed wrong index for inline editors
This commit is contained in:
Emanuel Schütze 2018-05-02 20:18:54 +02:00 committed by GitHub
commit cb42af7c8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@
<!-- comment fields --> <!-- comment fields -->
<div class="col-sm-12"> <div class="col-sm-12">
<div id="view-original-comment-inline-editor-{{ id }}" style="min-height: 14px;" <div id="view-original-comment-inline-editor-{{ id }}" style="min-height: 14px;"
ng-bind-html="motion.comments[id] | trusted" contenteditable="{{ commentsInlineEditing.editors[$index].isEditable }}"></div> ng-bind-html="motion.comments[id] | trusted" contenteditable="{{ commentsInlineEditing.editors[id].isEditable }}"></div>
</div> </div>
</div> </div>
</div> </div>