diff options
author | Clark Laughlin <clark.laughlin@linaro.org> | 2015-07-02 01:28:04 -0400 |
---|---|---|
committer | Clark Laughlin <clark.laughlin@linaro.org> | 2015-07-02 01:28:04 -0400 |
commit | 8194aac50d656511a2fe07fd2156b023f6eb744f (patch) | |
tree | fa087dfbd7e31b1f41752cd1fad8af625eeed251 /web-app | |
parent | 8a6f7f3cb64f500db9e2523a529e9f9314da82e4 (diff) |
web app: diff page
Diffstat (limited to 'web-app')
-rw-r--r-- | web-app/static/diff.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/web-app/static/diff.html b/web-app/static/diff.html index be5b74a..3f5d4ab 100644 --- a/web-app/static/diff.html +++ b/web-app/static/diff.html @@ -41,14 +41,12 @@ $(function() { }); $('#changes_table').DataTable( { - "ajax": { "dataSrc" : "", "url" : "" }, "columns": [ { "title" : "Ref Job", "data" : "ref_lavajob" }, { "title" : "Ref Status", "data" : "ref_status" }, { "title" : "Test Name", "data" : "test_name" }, - { "title" : "Duration", "data" : "r\\.time" }, { "title" : "Compare To Status", "data" : "other_status" }, - { "title" : "Compare To Job", "data" : "other_lavajob", "visible" : false } + { "title" : "Compare To Job", "data" : "other_lavajob" } ] }); @@ -69,7 +67,7 @@ $(function() { function update_table() { var url = "/results/tempest/jobs/changes?ref=" + $("#ref-list").val() + "&other=" + $("#other-list").val(); var table = $('#changes_table').DataTable(); - table.ajax.url(url).load(); + table.ajax.dataSrc("").url(url).load(); } </script> |