Emulate the CTRL+click behavior.
Signed-off-by: Eric Riggs <ericriggs42@gmail.com>
This commit is contained in:
committed by
Roberto Rosario
parent
ee3683f6ac
commit
a4f5febf38
@@ -10,7 +10,6 @@ These are errors or issues that are blocking a release.
|
||||
UI - Frontend
|
||||
~~~~~~~~~~~~~
|
||||
- Match row height is not executing until scroll.
|
||||
- Fix shift+click and control+click.
|
||||
|
||||
|
||||
UI - Backend
|
||||
|
||||
@@ -127,6 +127,11 @@ PartialNavigation.prototype.onAnchorClick = function ($this, event) {
|
||||
|
||||
event.preventDefault();
|
||||
|
||||
if (event.ctrlKey) {
|
||||
window.open(url);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!($this.hasClass('disabled') || $this.parent().hasClass('disabled'))) {
|
||||
this.setLocation(url);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user