Commit 5b3c7722 authored by Andreas Gärtner's avatar Andreas Gärtner
Browse files

Moved piRoundActivation check to "activate" event handler. Task #14410

parent cbd54dcf
......@@ -524,6 +524,7 @@ Ext.define('ARSnova.view.Question', {
this.on('activate', function() {
this.answerList.addListener('itemtap', questionListener.itemtap);
this.checkPiRoundActivation();
if (this.viewOnly) {
this.setAnswerCount();
......@@ -547,8 +548,6 @@ Ext.define('ARSnova.view.Question', {
});
this.on('painted', function() {
this.checkPiRoundActivation();
if (ARSnova.app.userRole === ARSnova.app.USER_ROLE_SPEAKER) {
this.updateEditButtons();
}
......
Supports Markdown
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