Permalink
Browse files

bug #3971 Ctrl/shift + click opens links in same window

  • Loading branch information...
1 parent 70a3d4a commit b5089cf908a1c506546f43482fe2e836836a81cb @roccivic roccivic committed with lem9 Jun 9, 2013
Showing with 4 additions and 1 deletion.
  1. +1 −0 ChangeLog
  2. +3 −1 js/ajax.js
View
@@ -10,6 +10,7 @@ phpMyAdmin - ChangeLog
- bug #3965 Default language wrong with zh-TW
- bug #3921 Call to undefined function PMA_isSuperuser() if default server is
not set
+- bug #3971 Ctrl/shift + click opens links in same window
4.0.3.0 (2013-06-05)
- bug #3941 Recent tables list always empty
View
@@ -128,7 +128,9 @@ var AJAX = {
// leave the browser deal with it natively (e.g: file download)
// or leave an existing ajax event handler present elsewhere deal with it
var href = $(this).attr('href');
- if ($(this).attr('target')) {
+ if (event.shiftKey || event.ctrlKey) {
+ return true;
+ } else if ($(this).attr('target')) {
return true;
} else if ($(this).hasClass('ajax') || $(this).hasClass('disableAjax')) {
return true;

0 comments on commit b5089cf

Please sign in to comment.