Commit fe954ca1 by kimth

Unbreak frontend polling

parent 32924d8b
...@@ -40,8 +40,9 @@ class @Problem ...@@ -40,8 +40,9 @@ class @Problem
poll: => poll: =>
$.postWithPrefix "#{@url}/problem_get", (response) => $.postWithPrefix "#{@url}/problem_get", (response) =>
@el.html(response.html) @el.html(response.html)
@executeProblemScripts() @executeProblemScripts () =>
@bind() @setupInputTypes()
@bind()
@queued_items = @$(".xqueue") @queued_items = @$(".xqueue")
if @queued_items.length == 0 if @queued_items.length == 0
......
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