by ruckusing · 14y ago · 0 comments
In the footer of every page:
$(document).ready(function() {
if (V.Views.orders_index) { V.Views.orders_index(); }
}
Where "V.Views.orders_index" is basically "${controller}_${index}". Thus you just need to actually define that function in an included JS and voila, thats your calling hook and your JS is invoked.No comments yet.