diff --git a/src/main/webapp/app/view/feedbackQuestions/QuestionsMessagePanel.js b/src/main/webapp/app/view/feedbackQuestions/QuestionsMessagePanel.js index 880ee719671d301839268fe562ccb54580b0cc2a..3ed9024a3ed32aae5c8df8eb462076376ef9c687 100644 --- a/src/main/webapp/app/view/feedbackQuestions/QuestionsMessagePanel.js +++ b/src/main/webapp/app/view/feedbackQuestions/QuestionsMessagePanel.js @@ -74,7 +74,10 @@ Ext.define('ARSnova.view.feedbackQuestions.QuestionsMessagePanel', { updateClockTask: { name: 'renew the actual time at the titlebar', run: function () { - ARSnova.app.mainTabPanel.tabPanel.feedbackQuestionsPanel.questionsPanel.updateTime(); + var fQP = ARSnova.app.mainTabPanel.tabPanel.feedbackQuestionsPanel; + if (typeof fQP.questionsPanel.updateTime === 'function') { + fQP.questionsPanel.updateTime(); + } }, interval: 1000 // 1 second }