Plugin Developer Discussion

Discussion for FogBugz Plugin developers

API Feature Request: Ability StaticJSFiles to specific pages

I've been using the StaticJSFiles in my plug-in pretty extensively, and only recently started adding JS methods that fire when the page is loaded.

I've coded them so they are safe if they are run on pages other than the one intended (assuming they don't also have div elements assigned the BugEvent class), but it does make me a bit nervous that I could be breaking something on a page that is unrelated to my plugin since the StaticJSFiles applies the JS to all pages on the site.

My Feature Request: Some additional API capability in StaticJSFiles to specify specific named pages where the JS is added, for example BugView, BugEdit, GridView, ProjectList, etc.
John Fuex Send private email
Tuesday, August 25, 2009
 
 
Yep, this is a request we hear a lot.  It didn't quite make it in for v1, but I'm pretty sure something will exist in v2 (whenever that is).
David Fullerton Send private email
Thursday, August 27, 2009
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz