if (!mkdru.submitted) return false;
mkdru.resetPage();
mkdru.hashFromState();
- mkdru.pz2.show(0, mkdru.state.perpage, mkdru.state.sort);
return false;
};
$(window).bind( 'hashchange', mkdru.hashChange);
$('.mkdru-search').bind('submit', mkdru.submitQuery);
$('.mkdru-search input:text').attr('value', '');
- $('.mkdru-perpage').bind('change', function () { mkdru.pollDropDowns() });
- $('.mkdru-sort').bind('change', function () { mkdru.pollDropDowns() });
+ $('.mkdu-perpage').bind('change', function () {
+ mkdru.pollDropDowns();
+ mkdru.pz2.show(0, mkdru.state.perpage, mkdru.state.sort);
+ });
+ $('.mkdru-sort').bind('change', function () {
+ mkdru.pollDropDowns();
+ mkdru.pz2.show(0, mkdru.state.perpage, mkdru.state.sort);
+ });
mkdru.pz2 = new pz2( { "onshow": mkdru.pz2Show,
"showtime": 500, //each timer (show, stat, term, bytarget) can be specified this way