diff options
author | spocky <spocky@ampache> | 2008-03-17 22:00:00 +0000 |
---|---|---|
committer | spocky <spocky@ampache> | 2008-03-17 22:00:00 +0000 |
commit | 179b7dab439f4993b6de0f95ef130b1dbf4d4acf (patch) | |
tree | 37e031e673cbd17f30113e9e3f6d325aa786e31a /templates | |
parent | 7ddc95541d649fdf0121eafcd71a93376b16efec (diff) | |
download | ampache-179b7dab439f4993b6de0f95ef130b1dbf4d4acf.tar.gz ampache-179b7dab439f4993b6de0f95ef130b1dbf4d4acf.tar.bz2 ampache-179b7dab439f4993b6de0f95ef130b1dbf4d4acf.zip |
Changed "starts with" browsing execution from OnChange to OnKeyUp (sounds more logical this way). Maybe we dont need "alphabet filter" above anymore. Or maybe we do (?).
Fixed songs starting with "All" never searched
Diffstat (limited to 'templates')
-rw-r--r-- | templates/sidebar_browse.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/sidebar_browse.inc.php b/templates/sidebar_browse.inc.php index 4a51c3db..1089bd8b 100644 --- a/templates/sidebar_browse.inc.php +++ b/templates/sidebar_browse.inc.php @@ -44,8 +44,8 @@ $allowed_filters = Browse::get_allowed_filters(); <?php if (in_array('alpha_match',$allowed_filters)) { ?> <?php show_alphabet_list($_REQUEST['alpha_match'],$_REQUEST['action']); ?> <form id="multi_alpha_filter_form" method="post" action="javascript:void(0);"> - <input type="textbox" id="multi_alpha_filter" name="value" value="<?php echo scrub_out($_REQUEST['alpha_match']); ?>" onChange="<?php echo Ajax::action('?page=browse&action=browse&key=alpha_match','multi_alpha_filter','multi_alpha_filter_form'); ?>"> - <label id="multi_alpha_filterLabel" for="multi_art_filter"><?php echo _('Starts With'); ?></label> + <input type="textbox" id="multi_alpha_filter" name="value" value="<?php echo scrub_out($_REQUEST['alpha_match']); ?>" onKeyUp="<?php echo Ajax::action('?page=browse&action=browse&key=alpha_match','multi_alpha_filter','multi_alpha_filter_form'); ?>"> + <label id="multi_alpha_filterLabel" for="multi_alpha_filter"><?php echo _('Starts With'); ?></label> </form> <?php } // end if alpha_match ?> <?php if (in_array('minimum_count',$allowed_filters)) { ?> |