FogBugz currently switches between "bug edit" mode and "bug view" modes using Ajax transformations (rather than page loads). Because of this, there's currently no way to tell from JavaScript which mode FogBugz is in without constantly checking via a timer.
Are there any plans to add custom JavaScript events to FogBugz for cases like this? I think custom events like fbOnBugEdit and fbOnBugView for going into bug edit and bug view modes respectively could be very useful.
BugViewChangeis what he needs? – Michel de Ruiter♦ Sep 14 at 7:10$(window).on('BugViewChange', function() { alert('change!'); });– Michel de Ruiter♦ Oct 2 at 11:25