Closed kalleth closed 12 years ago
See https://github.com/kalleth/mpukviewr/blob/master/viewr/app/assets/javascripts/exp/view_manager.coffee line 34, bindElementItems accepts the 'string' of element rather than an element itself.
Mod the showmessage fn to do the $(element) step to turn it into a dom object then pass that around rather than the string representation in 'element'.
See https://github.com/kalleth/mpukviewr/blob/master/viewr/app/assets/javascripts/exp/view_manager.coffee line 34, bindElementItems accepts the 'string' of element rather than an element itself.
Mod the showmessage fn to do the $(element) step to turn it into a dom object then pass that around rather than the string representation in 'element'.