diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2011-05-26 19:25:55 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2011-05-26 19:25:55 -0400 |
commit | c1bcad2abca3af0905cef38f1d5dad308159d234 (patch) | |
tree | 9f207c1989aaca3a9fe4a03de6b3b66d152f0c64 /templates/browse_filters.inc.php | |
parent | 0fbeda90479df56924c6693d766bc9252a3b6a3b (diff) | |
download | ampache-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.php | 2 |
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)) { ?> |