Commit 94d34cb7 by Calen Pennington Committed by Zia Fazal

Add block type to the available attributes in the xblock javascript frontend

parent 6063c8dd
......@@ -34,6 +34,7 @@
block.element = element
block.name = $element.data("name")
block.type = $element.data("block-type")
$element.trigger("xblock-initialized")
$element.data("initialized", true)
......
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