From c1f97ce3ab30e3d51ff76cae4a43494382efd87f Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Fri, 21 Feb 2014 11:57:57 +0000 Subject: bitbake: toaster: Don't show clear search button if text input field is empty The clear search button should only show when the search text input field is populated. If it is empty (as it happens when a filter returns no results) the clear search button should not display. (Bitbake rev: 6cc4aaf08b51bb6cd8d1813c33989a788bd06990) Signed-off-by: Belen Barros Pena Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/bpackage.html | 2 +- bitbake/lib/toaster/toastergui/templates/configvars.html | 2 +- bitbake/lib/toaster/toastergui/templates/recipes.html | 2 +- bitbake/lib/toaster/toastergui/templates/tasks.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/templates/bpackage.html b/bitbake/lib/toaster/toastergui/templates/bpackage.html index 54f4bb4d5d..7da8ce7e14 100644 --- a/bitbake/lib/toaster/toastergui/templates/bpackage.html +++ b/bitbake/lib/toaster/toastergui/templates/bpackage.html @@ -24,7 +24,7 @@
- + {% if request.GET.search %}{% endif %}
diff --git a/bitbake/lib/toaster/toastergui/templates/configvars.html b/bitbake/lib/toaster/toastergui/templates/configvars.html index ae77be88c1..d7052534fc 100644 --- a/bitbake/lib/toaster/toastergui/templates/configvars.html +++ b/bitbake/lib/toaster/toastergui/templates/configvars.html @@ -35,7 +35,7 @@
- + {% if request.GET.search %}{% endif %}
diff --git a/bitbake/lib/toaster/toastergui/templates/recipes.html b/bitbake/lib/toaster/toastergui/templates/recipes.html index da5ac99bd5..860d30d318 100755 --- a/bitbake/lib/toaster/toastergui/templates/recipes.html +++ b/bitbake/lib/toaster/toastergui/templates/recipes.html @@ -24,7 +24,7 @@
- + {% if request.GET.search %}{% endif %}
diff --git a/bitbake/lib/toaster/toastergui/templates/tasks.html b/bitbake/lib/toaster/toastergui/templates/tasks.html index f484867958..d881811bd9 100644 --- a/bitbake/lib/toaster/toastergui/templates/tasks.html +++ b/bitbake/lib/toaster/toastergui/templates/tasks.html @@ -22,7 +22,7 @@
- + {% if request.GET.search %}{% endif %}
-- cgit v1.2.3-54-g00ecf