summaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/static/js/customrecipe.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/toaster/toastergui/static/js/customrecipe.js')
-rw-r--r--lib/toaster/toastergui/static/js/customrecipe.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/toaster/toastergui/static/js/customrecipe.js b/lib/toaster/toastergui/static/js/customrecipe.js
index a31c26834e..1c0ef9e37d 100644
--- a/lib/toaster/toastergui/static/js/customrecipe.js
+++ b/lib/toaster/toastergui/static/js/customrecipe.js
@@ -265,6 +265,15 @@ function customRecipePageInit(ctx) {
});
}
+ $("#no-results-show-all-packages").click(function(){
+ $(".no-results-search-input").val("");
+ });
+
+ $("#no-results-remove-search-btn").click(function(){
+ $(".no-results-search-input").val("");
+ $(this).hide();
+ });
+
/* Trigger a build of your custom image */
$(".build-custom-image").click(function(){
libtoaster.startABuild(null, ctx.recipe.name,