From ea3228e311a22d5f917ca7135ee4d68738a6dfb4 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 21 Sep 2011 14:10:34 +0200 Subject: fix(scenario): workaround for FF6 dispatchEvent issue #684208 --- src/service/location.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/service') diff --git a/src/service/location.js b/src/service/location.js index 644b4aaa..de359220 100644 --- a/src/service/location.js +++ b/src/service/location.js @@ -461,6 +461,8 @@ angularServiceInject('$location', function($browser, $sniffer, $config, $documen currentUrl.url(href); scope.$apply(); event.preventDefault(); + // hack to work around FF6 bug 684208 when scenario runner clicks on links + window.angular['ff-684208-preventDefault'] = true; }); } else { currentUrl = new LocationHashbangUrl(initUrl, hashPrefix); -- cgit v1.2.3