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() {
|
setFeedbackMessage() {
|
||||||
let message = $('#feedbackTextArea').val();
|
this.feedbackMessage = $('#feedbackTextArea').val();
|
||||||
|
|
||||||
this.feedbackMessage = message;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
show(cb) {
|
show(cb) {
|
||||||
|
@ -179,6 +177,8 @@ export default class Dialog {
|
||||||
}
|
}
|
||||||
|
|
||||||
onHide() {
|
onHide() {
|
||||||
this.onCloseCallback(this.feedbackScore, this.feedbackMessage);
|
this.onCloseCallback({
|
||||||
|
feedbackSubmitted: this.submitted
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue