Fixes hangup when callstats is disabled.
This commit is contained in:
parent
d793cdc797
commit
07f111abbd
|
@ -1102,7 +1102,7 @@ UI.requestFeedback = function () {
|
||||||
if (Feedback.isVisible())
|
if (Feedback.isVisible())
|
||||||
return Promise.reject(UIErrors.FEEDBACK_REQUEST_IN_PROGRESS);
|
return Promise.reject(UIErrors.FEEDBACK_REQUEST_IN_PROGRESS);
|
||||||
// Feedback has been submitted already.
|
// Feedback has been submitted already.
|
||||||
else if (Feedback.isSubmitted())
|
else if (Feedback.isEnabled() && Feedback.isSubmitted())
|
||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
else
|
else
|
||||||
return new Promise(function (resolve, reject) {
|
return new Promise(function (resolve, reject) {
|
||||||
|
|
Loading…
Reference in New Issue