Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
726f647a34
@ -128,7 +128,7 @@ 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 (event.shiftKey || event.ctrlKey) {
|
||||
if (typeof event != 'undefined' && (event.shiftKey || event.ctrlKey)) {
|
||||
return true;
|
||||
} else if ($(this).attr('target')) {
|
||||
return true;
|
||||
|
||||
@ -1634,7 +1634,7 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
e.preventDefault();
|
||||
// get the click count and increase
|
||||
var clicks = $cell.data('clicks');
|
||||
clicks = (clicks === null) ? 1 : clicks + 1;
|
||||
clicks = (typeof clicks === 'undefined') ? 1 : clicks + 1;
|
||||
|
||||
if (clicks == 1) {
|
||||
// if there are no previous clicks,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user