Improve error handling for feedback form
also make sure the message doesn't self-destruct when closing the dialog
This commit is contained in:
parent
20f3d001c4
commit
a801672821
2 changed files with 18 additions and 7 deletions
|
@ -334,7 +334,8 @@
|
|||
## Feedback Button / Dialog
|
||||
% if request.has_perm('common.feedback'):
|
||||
<feedback-form
|
||||
action="${url('feedback')}">
|
||||
action="${url('feedback')}"
|
||||
:message="feedbackMessage">
|
||||
</feedback-form>
|
||||
% endif
|
||||
|
||||
|
@ -512,7 +513,8 @@
|
|||
}
|
||||
|
||||
let WholePageData = {
|
||||
contentTitleHTML: ${json.dumps(capture(self.content_title))|n}
|
||||
contentTitleHTML: ${json.dumps(capture(self.content_title))|n},
|
||||
feedbackMessage: "",
|
||||
}
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue