clear comment modal if comment was created

This commit is contained in:
Ralf Teusner
2017-04-18 17:46:36 +02:00
parent 234c19ac6c
commit 81e7cbc8be

View File

@ -230,6 +230,7 @@ also, all settings from the rails model needed for the editor configuration in t
if (commenttext !== "") {
createComment(file_id, row, editor, commenttext);
commentModal.find('textarea').val('') ;
commentModal.modal('hide');
}
});