From 5695236de42fc91cb518efcc59a5f8e5db0ad7cf Mon Sep 17 00:00:00 2001 From: Rouslan Placella Date: Wed, 11 Jul 2012 16:32:52 +0100 Subject: [PATCH] Stop propagation of the change page event --- js/functions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/functions.js b/js/functions.js index f2a6610fc8..b662e53963 100644 --- a/js/functions.js +++ b/js/functions.js @@ -3180,7 +3180,8 @@ AJAX.registerOnload('functions.js', function() { /** * Autosubmit page selector */ - $('select.pageselector').live('change', function() { + $('select.pageselector').live('change', function(event) { + event.stopPropagation(); // Check where to load the new content // For the main page we don't need to do anything, // but for the navigation we need to manually replace the content