diff options
author | Milo Casagrande <milo.casagrande@linaro.org> | 2014-12-03 16:21:01 +0100 |
---|---|---|
committer | Milo Casagrande <milo.casagrande@linaro.org> | 2014-12-03 16:21:01 +0100 |
commit | fb6e7c1f10b4ba409914d01e3bcbf29b4b8cf20f (patch) | |
tree | 0639f6c3daf84408bf8bc235c1cea47932eba7db | |
parent | e952c7fca073c87ab8e7c7e56cc4a1cbb4c27c8f (diff) |
Add missing JS function for clickable table.
Change-Id: I3e45f6eb3aceef60c95f6161d9ab9ce0beec3f0f
-rw-r--r-- | app/dashboard/static/js/linaro-boots-id-1.1.2.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/dashboard/static/js/linaro-boots-id-1.1.2.js b/app/dashboard/static/js/linaro-boots-id-1.1.2.js index 07488e3..c41a1a5 100644 --- a/app/dashboard/static/js/linaro-boots-id-1.1.2.js +++ b/app/dashboard/static/js/linaro-boots-id-1.1.2.js @@ -605,7 +605,13 @@ $(document).ready(function() { }); $('#li-boot').addClass('active'); - // $('#bisect-content').hide(); + + $('.clickable-table tbody').on('click', 'tr', function() { + var url = $(this).data('url'); + if (url) { + window.location = url; + } + }); var errorReason = 'Data call failed.', data = {}, |