summaryrefslogtreecommitdiffstats
path: root/templates/sidebar_browse.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-18 02:19:58 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-18 02:19:58 +0000
commit6e23458ab0bdfd415b2de38a1ad03dbb03644410 (patch)
treea83467b3cc6eb1977b6f680e8200b40bdee1ff3c /templates/sidebar_browse.inc.php
parent179b7dab439f4993b6de0f95ef130b1dbf4d4acf (diff)
downloadampache-6e23458ab0bdfd415b2de38a1ad03dbb03644410.tar.gz
ampache-6e23458ab0bdfd415b2de38a1ad03dbb03644410.tar.bz2
ampache-6e23458ab0bdfd415b2de38a1ad03dbb03644410.zip
slight tweak to the hotness added by spocky, added in a slight delay on the onKeyUp removed the alpha list
Diffstat (limited to 'templates/sidebar_browse.inc.php')
-rw-r--r--templates/sidebar_browse.inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/sidebar_browse.inc.php b/templates/sidebar_browse.inc.php
index 1089bd8b..936e847c 100644
--- a/templates/sidebar_browse.inc.php
+++ b/templates/sidebar_browse.inc.php
@@ -42,9 +42,8 @@ $allowed_filters = Browse::get_allowed_filters();
<li><h4><?php echo _('Filters'); ?></h4>
<div class="sb3">
<?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']); ?>" onKeyUp="<?php echo Ajax::action('?page=browse&action=browse&key=alpha_match','multi_alpha_filter','multi_alpha_filter_form'); ?>">
+ <input type="textbox" id="multi_alpha_filter" name="multi_alpha_filter" value="<?php echo scrub_out($_REQUEST['alpha_match']); ?>" onKeyUp="DelayRun(this,'400','ajaxState','<?php echo Config::get('ajax_url'); ?>?page=browse&action=browse&key=alpha_match','multi_alpha_filter');">
<label id="multi_alpha_filterLabel" for="multi_alpha_filter"><?php echo _('Starts With'); ?></label>
</form>
<?php } // end if alpha_match ?>