Commit 41f3c040 by Calen Pennington

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

parent 4a43427c
......@@ -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