summaryrefslogtreecommitdiffstats
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
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.
-rwxr-xr-xdocs/CHANGELOG1
-rw-r--r--templates/browse_filters.inc.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/CHANGELOG b/docs/CHANGELOG
index f4a5b3c5..98a1e6f3 100755
--- a/docs/CHANGELOG
+++ b/docs/CHANGELOG
@@ -4,6 +4,7 @@
--------------------------------------------------------------------------
v.3.6-Alpha2
+ - Catalog filtering fix
- Toggle artwork with a button instead of a checkbox (patch from mywindow)
- API handshake code cleanup, including a bugfix from postfuturist
- Improved install process when JavaScript is disabled
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)) { ?>