OK, I've been reading the Hooks tutorial, but I can't seem to make it work for what I want. I need to trigger a JS event whenever I open a workspace. What hook should I use? after_action ? render_object_properties? render_page_actions?
How can I just echo some code using one of this hooks? I tried override_action_view, but it just doesn't work. HELP PLEASE!