Commit 1c8e9fb7 authored by Andreas Gärtner's avatar Andreas Gärtner
Browse files

Fix socket io reconnect caused by reference error.

parent 669e7cee
...@@ -406,6 +406,7 @@ Ext.define("ARSnova.controller.Questions", { ...@@ -406,6 +406,7 @@ Ext.define("ARSnova.controller.Questions", {
if (tP.getActiveItem() === tP.speakerTabPanel) { if (tP.getActiveItem() === tP.speakerTabPanel) {
var showcasePanel = panel.showcaseQuestionPanel; var showcasePanel = panel.showcaseQuestionPanel;
if (tP.speakerTabPanel.getActiveItem() === showcasePanel) {
if (showcasePanel.getActiveItem().getItemId() === id) { if (showcasePanel.getActiveItem().getItemId() === id) {
if (answerCount === abstentionCount && answerCount > 0) { if (answerCount === abstentionCount && answerCount > 0) {
showcasePanel.toolbar.setAnswerCounter(abstentionCount, Messages.ABSTENTION); showcasePanel.toolbar.setAnswerCounter(abstentionCount, Messages.ABSTENTION);
...@@ -414,6 +415,7 @@ Ext.define("ARSnova.controller.Questions", { ...@@ -414,6 +415,7 @@ Ext.define("ARSnova.controller.Questions", {
} }
} }
} }
}
}, },
adHoc: function () { adHoc: function () {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment