Stop propagation of the change page event

This commit is contained in:
Rouslan Placella 2012-07-11 16:32:52 +01:00
parent 64e66fe56c
commit 5695236de4

View File

@ -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