Reports to close callback whether feedback is submitted.
This commit is contained in:
parent
456b3030e3
commit
e81a10de4a
|
@ -164,9 +164,7 @@ export default class Dialog {
|
|||
}
|
||||
|
||||
setFeedbackMessage() {
|
||||
let message = $('#feedbackTextArea').val();
|
||||
|
||||
this.feedbackMessage = message;
|
||||
this.feedbackMessage = $('#feedbackTextArea').val();
|
||||
}
|
||||
|
||||
show(cb) {
|
||||
|
@ -179,6 +177,8 @@ export default class Dialog {
|
|||
}
|
||||
|
||||
onHide() {
|
||||
this.onCloseCallback(this.feedbackScore, this.feedbackMessage);
|
||||
this.onCloseCallback({
|
||||
feedbackSubmitted: this.submitted
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue