* foucus the searchQuery auto.

* adjust the placeholder info of searchquery.
This commit is contained in:
wangchunsheng
2012-06-29 05:55:50 +00:00
parent a507f4f4df
commit d9afee028d
4 changed files with 4 additions and 4 deletions

View File

@@ -286,7 +286,7 @@ class commonModel extends model
echo "<li id='searchbox'>";
echo html::select('searchType', $lang->searchObjects, $searchObject);
echo html::input('searchQuery', $lang->searchTips, "onclick=this.value='' onkeydown='if(event.keyCode==13) shortcut()' class='w-60px'");
echo html::input('searchQuery', $lang->searchTips, "onclick=this.value='' onkeydown='if(event.keyCode==13) shortcut()' class='w-80px'");
echo "<input type='button' id='objectSwitcher' onclick='shortcut()' />";
echo "</li>";
echo "</ul>\n";