]> BookStack Code Mirror - bookstack/blobdiff - resources/views/comments/comment-reply.blade.php
#47 - Fixes the issues with the test case.
[bookstack] / resources / views / comments / comment-reply.blade.php
index 9c698bf0d6c1c5046255c15118e4064584b71e0b..02535341c00b17c5160191f4a59cb017829a6d8c 100644 (file)
@@ -3,7 +3,7 @@
         <textarea name="markdown" rows="3" ng-model="comment.text" placeholder="{{ trans('entities.comment_placeholder') }}"></textarea>
         <input type="hidden" ng-model="comment.pageId" name="comment.pageId" value="{{$pageId}}" ng-init="comment.pageId = {{$pageId }}">
         <button type="button" ng-if="::(isReply || isEdit)" class="button muted" ng-click="closeBox()">{{ trans('entities.comment_cancel') }}</button>
-        <button type="submit" class="button pos" ng-click="vm.saveComment(isReply)">{{ trans('entities.comment_save') }}</button>
+        <button type="submit" class="button pos" ng-click="vm.saveComment()">{{ trans('entities.comment_save') }}</button>
     </form>
 </div>