diff --git a/modules/UI/Feedback.js b/modules/UI/Feedback.js index 152d6a652..3f7e10c39 100644 --- a/modules/UI/Feedback.js +++ b/modules/UI/Feedback.js @@ -1,7 +1,8 @@ -/** - * Created by ystamcheva on 2/10/15. +/* global interfaceConfig */ + +/* + * Created by Yana Stamcheva on 2/10/15. */ -/* jshint -W101 */ var messageHandler = require("./util/MessageHandler"); var callStats = require("../statistics/CallStats"); var APP = require("../../app"); @@ -106,7 +107,7 @@ var Feedback = { feedbackDialog.goToState('detailed_feedback'); } }; - // Initialise stars to correspond to previously entered feedback. + // Init stars to correspond to previously entered feedback. if (Feedback.feedbackScore > 0 && index < Feedback.feedbackScore) { Feedback.hoverStars(index); diff --git a/modules/UI/toolbars/Toolbar.js b/modules/UI/toolbars/Toolbar.js index b452b2f2b..9f229ddfd 100644 --- a/modules/UI/toolbars/Toolbar.js +++ b/modules/UI/toolbars/Toolbar.js @@ -149,7 +149,7 @@ function hangup() { window.location.pathname = "/"; }, 3000); } - } + }; if (Feedback.feedbackScore > 0) { Feedback.openFeedbackWindow(); diff --git a/modules/statistics/CallStats.js b/modules/statistics/CallStats.js index 957d3bd3f..bb71a23d4 100644 --- a/modules/statistics/CallStats.js +++ b/modules/statistics/CallStats.js @@ -94,7 +94,7 @@ var CallStats = { ', "comment": "' + detailedFeedback + '"}'; var feedbackJSON = JSON.parse(feedbackString); - + callStats.sendUserFeedback( this.confID, feedbackJSON); }