diff options
author | Adam Young <ayoung@redhat.com> | 2010-08-06 15:09:29 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2010-08-09 15:06:27 -0400 |
commit | b192bb76d0dccccc0749c982d57c3f88945c8484 (patch) | |
tree | 3cbaa32c5c8bf2bf3067138f43c96ccfe7ac546e /install/static/search.js | |
parent | 8ad88b411921ba90bdd149eb278639e1cbbe1a1a (diff) | |
download | freeipa-b192bb76d0dccccc0749c982d57c3f88945c8484.tar.gz freeipa-b192bb76d0dccccc0749c982d57c3f88945c8484.tar.xz freeipa-b192bb76d0dccccc0749c982d57c3f88945c8484.zip |
Remove search field on group button
Hide the search bar when showing the groups listed for a user, and resotre it when doing other searches.
The enroll button is added only on the groups page, and removed along with anything else in the searchButtons div when a new search is started.
Diffstat (limited to 'install/static/search.js')
-rw-r--r-- | install/static/search.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/install/static/search.js b/install/static/search.js index 6b0be6d47..de11f2eda 100644 --- a/install/static/search.js +++ b/install/static/search.js @@ -15,6 +15,9 @@ function showSearch(){ $('#content').css("visibility","hidden"); $('#search').css("display","block"); $('#content').css("display","none"); + $("#filter").css("display","block"); + $("#searchButtons").html(""); + } |