From 5e75d2380a54070ba9f03df0e9c910973cb4ba6a Mon Sep 17 00:00:00 2001 From: zadam Date: Tue, 1 Sep 2020 23:43:09 +0200 Subject: [PATCH] fix error after confirming mention relation name --- src/public/app/widgets/attribute_editor.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/public/app/widgets/attribute_editor.js b/src/public/app/widgets/attribute_editor.js index 9d231f59b..4ff99a950 100644 --- a/src/public/app/widgets/attribute_editor.js +++ b/src/public/app/widgets/attribute_editor.js @@ -351,7 +351,9 @@ export default class AttributeEditorWidget extends TabAwareWidget { } if (this.$errors.is(":visible")) { - this.$errors.slideUp(); + // using .hide() instead of .slideUp() since this will also hide the error after confirming + // mention for relation name which suits up. When using.slideUp() error will appear and the slideUp which is weird + this.$errors.hide(); } }