Merge pull request #1184 from D-storm/bug-4417
Bug Fix #4417,#4403: Single-clicking a foreign key causes JS error
This commit is contained in:
commit
5789c674a4
@ -199,7 +199,7 @@ var AJAX = {
|
||||
//the user has performed some operations on loaded page
|
||||
//the user clicks on some link, (won't trigger for buttons)
|
||||
//the click event is not triggered by script
|
||||
if (event.type === 'click' &&
|
||||
if (typeof event !== 'undefined' && event.type === 'click' &&
|
||||
event.isTrigger !== true &&
|
||||
isInputAltered &&
|
||||
confirm(PMA_messages['strConfirmNavigation']) === false
|
||||
|
||||
Loading…
Reference in New Issue
Block a user