I'm trying to load some theme javascript only to one view(multiple displays). I've tried to use the views preprocessor funciton, but maybe I'm doing it wrong:
function themename_preprocess_views_view__viewname__page(&$variables){
this doesn't run on view page;
}
I've also tried it with the function name themename_views_view()
. There's not much documentation on this.