Skip to content

Commit

Permalink
修正骨架代码的自动完成功能用鼠标点击时不能自动提交的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hightman committed Sep 27, 2011
1 parent b2bac5b commit c504ce2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/php/util/skel/search.tpl.in
Expand Up @@ -226,6 +226,7 @@ $(function(){
}).blur().autocomplete({
'source':'suggest.php',
'select':function(ev,ui) {
$('#q-input .text').val(ui.item.label);
$('#q-form').submit();
}
});
Expand Down

0 comments on commit c504ce2

Please sign in to comment.