From c70c1cf8804ede98d6c26b639cd058c572c65042 Mon Sep 17 00:00:00 2001 From: minhaz Date: Sun, 11 May 2014 01:18:06 +0530 Subject: [PATCH] Bug fix for: #4393, #4399, #4400 #Reason: This is because, the once the table has been created, the js triggers a redirection to table structure which is like clicking on the link. Signed-off-by: A V Minhaz --- js/ajax.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/ajax.js b/js/ajax.js index 93a643732a..16652628cf 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -192,7 +192,10 @@ var AJAX = { break; } }; - if (event.type === 'click' && isInputAltered && confirm(PMA_messages['strConfirmNavigation']) === false) { + if (event.type === 'click' + && event.isTrigger !== true + && isInputAltered + && confirm(PMA_messages['strConfirmNavigation']) === false) { return false; } //reset