Merge pull request #20355 from nextcloud/fix/comments/clear-input/19585
Clear comment on successful post
This commit is contained in:
commit
66b743385e
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
|||
/* eslint-disable */
|
||||
/*
|
||||
/**
|
||||
* Copyright (c) 2016
|
||||
*
|
||||
* This file is licensed under the Affero General Public License version 3
|
||||
|
@ -597,9 +597,12 @@
|
|||
_onSubmitSuccess: function(model, $form) {
|
||||
var $submit = $form.find('.submit')
|
||||
var $loading = $form.find('.submitLoading')
|
||||
var $message = $form.find('.message')
|
||||
|
||||
$submit.removeClass('hidden')
|
||||
$loading.addClass('hidden')
|
||||
$message.prop('contenteditable', true)
|
||||
$message.text('')
|
||||
},
|
||||
|
||||
_commentBodyHTML2Plain: function($el) {
|
||||
|
|
Loading…
Reference in New Issue