Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initSearchForm里有一段无用代码 #36

Closed
apei830 opened this issue Oct 22, 2013 · 1 comment
Closed

initSearchForm里有一段无用代码 #36

apei830 opened this issue Oct 22, 2013 · 1 comment

Comments

@apei830
Copy link
Contributor

apei830 commented Oct 22, 2013

searchForm.find(".btn-clear-search").click(function() {

/* 下面turnSearch已经清空了form参数,这段没必要加隐藏的reset按钮了
if (table.data("async") == true) {
var resetBtn = searchForm.find("input[type='reset']");
if(!resetBtn.length) {
searchForm.append("");
resetBtn = searchForm.find("input[type='reset']");
}
resetBtn.click();
}
*/
turnSearch(table, searchForm, true);
});

我不怎么会用gitcheck out代码,到时候周末学学,呵呵

@zhangkaitao
Copy link
Owner

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants