From 08a1d9eff85b781540387e407b2b0b1797f68cc1 Mon Sep 17 00:00:00 2001 From: Matjaz Gregoric <mtyaka@gmail.com> Date: Thu, 20 Jul 2017 09:37:20 +0200 Subject: [PATCH] Enable webview for Poll & Survey blocks. --- poll/poll.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/poll/poll.py b/poll/poll.py index 3cb4775..92d1873 100644 --- a/poll/poll.py +++ b/poll/poll.py @@ -360,6 +360,7 @@ class PollBlock(PollBase): else: return None + @XBlock.supports("multi_device") # Mark as mobile-friendly def student_view(self, context=None): """ The primary view of the PollBlock, shown to students @@ -582,6 +583,7 @@ class SurveyBlock(PollBase): choices = Dict(help="The user's answers", scope=Scope.user_state) event_namespace = 'xblock.survey' + @XBlock.supports("multi_device") # Mark as mobile-friendly def student_view(self, context=None): """ The primary view of the SurveyBlock, shown to students -- libgit2 0.26.0