Commit c684a66a by Calen Pennington

Add information to xblocks about when they complete initialization that's visible in javascript

parent 1d0ce64b
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
block.element = element block.element = element
block.name = $element.data("name") block.name = $element.data("name")
$element.trigger("xblock-initialized")
$element.data("initialized", true)
block block
initializeBlocks: (element) -> initializeBlocks: (element) ->
......
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