bug #3971 Ctrl/shift + click opens links in same window
This commit is contained in:
parent
70a3d4ac47
commit
b5089cf908
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user