diff options
author | friendica <info@friendica.com> | 2013-10-01 20:10:09 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-10-01 20:10:09 -0700 |
commit | 7b6530fed5a35ecb3f8b699de9a0ec32a6cf7f82 (patch) | |
tree | 7360755b8262edbaec753b19407349dcdb8347cf /include | |
parent | f3d351621d8f098524ccbfcad82863beafab5393 (diff) | |
download | volse-hubzilla-7b6530fed5a35ecb3f8b699de9a0ec32a6cf7f82.tar.gz volse-hubzilla-7b6530fed5a35ecb3f8b699de9a0ec32a6cf7f82.tar.bz2 volse-hubzilla-7b6530fed5a35ecb3f8b699de9a0ec32a6cf7f82.zip |
add the auto form submit even though it doesn't seem to work. Will debug it later.
Diffstat (limited to 'include')
-rwxr-xr-x | include/text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php index 69c258488..8efa1e925 100755 --- a/include/text.php +++ b/include/text.php @@ -726,7 +726,7 @@ function search($s,$id='search-box',$url='/search',$save = false) { $a = get_app(); $o = '<div id="' . $id . '">'; $o .= '<form action="' . $a->get_baseurl((stristr($url,'network')) ? true : false) . $url . '" method="get" >'; - $o .= '<input type="text" name="search" id="search-text" placeholder="' . t('Search') . '" value="' . $s .'" />'; + $o .= '<input type="text" name="search" id="search-text" placeholder="' . t('Search') . '" value="' . $s .'" onclick="this.submit();" />'; $o .= '<input type="submit" name="submit" id="search-submit" value="' . t('Search') . '" />'; if($save) $o .= '<input type="submit" name="save" id="search-save" value="' . t('Save') . '" />'; |