diff --git a/www/common/common-feedback.js b/www/common/common-feedback.js index f0b7d989b..d377bae5c 100644 --- a/www/common/common-feedback.js +++ b/www/common/common-feedback.js @@ -22,6 +22,7 @@ define([ http.send(); }; Feedback.send = function (action, force, cb) { + if (typeof(cb) !== 'function') { cb = function () {}; } if (AppConfig.disableFeedback) { return void cb(); } if (!action) { return void cb(); } if (force !== true) {