MAPREDUCE-6782. JHS task page search based on each individual column not working (Ajith S via Varun Saxena)

(cherry picked from commit 026b39ad9d)
This commit is contained in:
Varun Saxena 2016-11-08 14:57:56 +05:30
parent 732eaadddb
commit a942d968c9
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@ public class HsTasksPage extends HsView {
private String jobsPostTableInit() { private String jobsPostTableInit() {
return "var asInitVals = new Array();\n" + return "var asInitVals = new Array();\n" +
"$('tfoot input').keyup( function () \n{"+ "$('tfoot input').keyup( function () \n{"+
" tasksDataTable.fnFilter( this.value, $('tfoot input').index(this) );\n"+ " $('.dt-tasks').dataTable().fnFilter("+
" this.value, $('tfoot input').index(this) );\n"+
"} );\n"+ "} );\n"+
"$('tfoot input').each( function (i) {\n"+ "$('tfoot input').each( function (i) {\n"+
" asInitVals[i] = this.value;\n"+ " asInitVals[i] = this.value;\n"+