BUGFIX Checking for existence of $('SwitchView') (fixes #5282) (from r108436)
BUGFIX Checking for existence of $('SwitchView') (fixes #5282) (from r108436)

git-svn-id: 61ad833bee3a753d148e0d349fad2a795836b318@108828 467b73ca-7a2a-4603-9d3b-597d59a354a9

jonom/silverstripe-cms,silverstripe-labs/silverstripe-reports,dhensby/silverstripe-cms,silverstripe/silverstripe-cms,silverstripe-labs/silverstripe-reports,jonom/silverstripe-cms,dhensby/silverstripe-cms,silverstripe/silverstripe-cms,silverstripe/silverstripe-siteconfig,helpfulrobot/i-lateral-silverstripe-siteconfig,dhensby/silverstripe-cms,dhensby/silverstripe-reports,dhensby/silverstripe-reports