summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/static/js
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-02-05 14:26:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-10 23:07:50 +0000
commita7ab4d03148c4549a2c0c99a5424f04ccecdfcc6 (patch)
treefc877b023402fbf0bf66d73ff7727cea220bc12b /bitbake/lib/toaster/toastergui/static/js
parent9e8798fd37fb2c8e48a4cdab0a40a8aa62cd3fd3 (diff)
downloadpoky-a7ab4d03148c4549a2c0c99a5424f04ccecdfcc6.tar.gz
bitbake: toaster: All Machines fix reset search link
In firefox this link wasn't valid as it was inside a button element. Remove this and add a click handler for the button. (Bitbake rev: 97366eae1d5c2c84b03b3e019480e56e03f812da) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/machines.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/machines.js b/bitbake/lib/toaster/toastergui/static/js/machines.js
index 1b7ea36893..ee8c9804cc 100644
--- a/bitbake/lib/toaster/toastergui/static/js/machines.js
+++ b/bitbake/lib/toaster/toastergui/static/js/machines.js
@@ -90,4 +90,9 @@ function machinesPageInit (ctx) {
90 window.location.replace(ctx.projectPageUrl); 90 window.location.replace(ctx.projectPageUrl);
91 }, null); 91 }, null);
92 }); 92 });
93
94 $("#show-all-btn").click(function(){
95 $("#search").val("")
96 $("#searchform").submit();
97 });
93} 98}