Bug Fix #4417,#4403: Single-clicking a foreign key causes JavaScript error
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
This commit is contained in:
parent
9a81facf41
commit
e9a9f442a8
@ -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