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

This commit is contained in:
Calen Pennington
2014-10-15 11:35:34 -04:00
parent 4a43427c6d
commit 41f3c040c8

View File

@@ -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)