kalleth / mpukviewr

Daemon and Rails application for viewr.
Other
5 stars 0 forks source link

JS doesn't bind timeago or any other events to 'added' events #14

Closed kalleth closed 12 years ago

kalleth commented 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'.