js/events: ignore javascript: in links

This commit is contained in:
Thomas Gelf 2014-06-24 06:35:52 +02:00
parent 1efd1d183e
commit ef0963af38
1 changed files with 3 additions and 0 deletions

View File

@ -459,6 +459,9 @@
var isMenuLink = $a.closest('#menu').length > 0;
var formerUrl;
var remote = /^(?:[a-z]+:)\/\//;
if (href.match(/^javascript:/)) {
return true;
}
// Ignore clicks on multiselect table inner links while key pressed
if ((event.ctrlKey || event.metaKey || event.shiftKey) &&