Hide edit warning element when form reverted.
This commit is contained in:
parent
509f0b1ac4
commit
32fe9ad24e
|
@ -566,6 +566,7 @@
|
||||||
|
|
||||||
$editForm.insertBefore('.notes-form');
|
$editForm.insertBefore('.notes-form');
|
||||||
$editForm.find('.js-comment-button').enable();
|
$editForm.find('.js-comment-button').enable();
|
||||||
|
$editForm.find('.js-edit-warning').hide();
|
||||||
};
|
};
|
||||||
|
|
||||||
Notes.prototype.getEditFormSelector = function($el) {
|
Notes.prototype.getEditFormSelector = function($el) {
|
||||||
|
|
Loading…
Reference in New Issue