$("#search-form").hide();
$("#bagit-form").hide();
+ $("#filter-form").hide();
//---------------------------------------------------------------------------
// Toggle the "Search" popup in the sidebar
}
}
+ //---------------------------------------------------------------------------
+ // Toggle the "Filter" popup on entries list
+ //---------------------------------------------------------------------------
+ function toggleFilter() {
+ $("#filter-form").toggle();
+ }
+
//---------------------------------------------------------------------------
// Toggle the "Save a Link" popup in the sidebar
//---------------------------------------------------------------------------
$("#searchfield").focus();
});
+ $("#filter").click(function(){
+ closePopups();
+ toggleFilter();
+ });
+
$("#bagit").click(function(){
closePopups();
toggleBagit();
toggleSearch();
});
+ $("#filter-form-close").click(function(){
+ toggleFilter();
+ });
+
$("#bagit-form-close").click(function(){
toggleBagit();
});
-
- // $("#").click(function(){
- // toggleSearch();
- // });
-
-
});