summaryrefslogtreecommitdiffstats
path: root/templates/browse_filters.inc.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2011-05-26 19:25:55 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2011-05-26 19:25:55 -0400
commitc1bcad2abca3af0905cef38f1d5dad308159d234 (patch)
tree9f207c1989aaca3a9fe4a03de6b3b66d152f0c64 /templates/browse_filters.inc.php
parent0fbeda90479df56924c6693d766bc9252a3b6a3b (diff)
downloadampache-c1bcad2abca3af0905cef38f1d5dad308159d234.tar.gz
ampache-c1bcad2abca3af0905cef38f1d5dad308159d234.tar.bz2
ampache-c1bcad2abca3af0905cef38f1d5dad308159d234.zip
Partial fix for catalog filtering
Acting on 'click' sends the AJAX request as soon as the user clicks to make the dropdown drop down; watch for 'change' instead.
Diffstat (limited to 'templates/browse_filters.inc.php')
-rw-r--r--templates/browse_filters.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/browse_filters.inc.php b/templates/browse_filters.inc.php
index 38632778..a366e0d7 100644
--- a/templates/browse_filters.inc.php
+++ b/templates/browse_filters.inc.php
@@ -91,7 +91,7 @@ $ajax_info = Config::get('ajax_url'); $web_path = Config::get('web_path');
?>
</select>
-<?php echo Ajax::observe('catalog_select','click',Ajax::action('?page=browse&action=browse&browse_id=' . $browse->id,'catalog_select','catalog_choice'),'1'); ?>
+<?php echo Ajax::observe('catalog_select', 'change', Ajax::action('?page=browse&action=browse&browse_id=' . $browse->id,'catalog_select', 'catalog_choice'), true); ?>
</form>
<?php } ?>
<?php if (in_array('show_art',$allowed_filters)) { ?>