实训合作者搜索上次搜索的内容不显示
This commit is contained in:
parent
a0562d01e9
commit
de26c97dbc
|
|
@ -19,7 +19,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<a href="javascript:void(0);" class="pop_close task-btn mb10" style="margin-top: 20px;">取消</a>
|
||||
<a href="javascript:void(0);" class="task-btn mb10" style="margin-top: 20px;" onclick="reset_input();" >取消</a>
|
||||
<a href="javascript:void(0);" class="task-btn task-btn-blue" style="margin-top: 20px;" onclick="submit_add_collaborators_form()">确定</a>
|
||||
<% end %>
|
||||
<div class="cl"></div>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,9 @@ $(function() {
|
|||
|
||||
var lastteSearchCondition = '';
|
||||
function search_not_teacher_f(e){
|
||||
if($(e.target).val().trim() == "" || ($(e.target).val().trim() == lastteSearchCondition && lastteSearchCondition != ''))
|
||||
console.log($(e.target).val().trim());
|
||||
console.log(lastteSearchCondition);
|
||||
if($(e.target).val().trim() == "")
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
@ -27,4 +29,4 @@ function submit_add_collaborators_form(){
|
|||
}else{
|
||||
$("#add_teacher_notice").html("请至少选择一个用户").show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue