-
Notifications
You must be signed in to change notification settings - Fork 27.4k
the link with the right mouse button in firefox #7984
Comments
i think the bug is here
...
|
@krom-xr - this seems like a valid issue. Would you like to make a pull request with this fix containing a unit test that demonstrates the problem? See https://github.com/angular/angular.js/blob/master/test/ng/locationSpec.js#L1139 |
I will try |
When user click right mouse button on links in firefox, browser goes to link. See http://jsfiddle.net/kromxr/76fKM/12/ Closes angular#7984
When user click right mouse button on links in firefox, browser goes to link. See http://jsfiddle.net/kromxr/76fKM/12/ Closes angular#7984
When user click right mouse button on links in firefox, browser goes to link. See http://jsfiddle.net/kromxr/76fKM/12/ Closes angular#7984
This seems to be the same bug as in #2668 |
krom-xr, I tried using the recommended fix to patch my local angular-1.2.13.js but it did not resolve the problem. |
Browser? OS? |
OSX 10.9.4, FF 30 It works now. Had a weird experience using default firefox debugger, 'Show Original Sources' was checked and caused the non-minified file to show up when in fact the minified one was being included. When I switched the include to the non-minified file where I applied the changes it worked. Do you have any recommendations on the best way to go about applying this patch before the fix is released? Modifying the core framework file doesn't sounds like an ideal fix. Any other advice appreciated. |
I use the following hack
|
honestly there isn't going to be an elegant solution for this until browsers implement role-based UIEvents (spec is in progress), so that we are only concerned with the navigation role (and not context menus etc). Otherwise it can break depending on browser and system configuration, and just generally sucks |
DOM3 has helped a bit with this, but it's far from perfect, unfortunately, and browser support is limited |
Of course I see this as a temporary solution |
When user click right mouse button on links in firefox, browser goes to link. See http://jsfiddle.net/kromxr/76fKM/12/ Closes angular#7984 Conflicts: src/ng/location.js test/ng/locationSpec.js
So... what are the chances that this will make it into 1.3? Our enterprise product is not yet ready to be 1.4-enabled, and this is currently a bug. I can back-patch it, but I'd prefer instead to get it from an official repo. Thanks! |
@BrianMcBrayer have you checked out 1.3.13? It looks like the code is in: https://github.com/angular/angular.js/blob/v1.3.13/src/ng/location.js Maybe it didn't make it to the changelog? |
You're right. It wasn't in the changelog--didn't think of looking at the source. Everything's peachey! :) |
It didn't get officially backported but then sneaked in as part of this commit... |
When i click right mouse button on link with hash in firefox. Brower goes to link url.
This bug occurs when I use $location as param in run function
See jsfiddle http://jsfiddle.net/kromxr/76fKM/12/
angular-version - any
browser - firefox 30.0
os - OS X 10.9.3
The text was updated successfully, but these errors were encountered: