CC-4649: Library -> Disable simple search if advanced search fields are open
-done
This commit is contained in:
parent
acc3ccca22
commit
cabe583a3b
|
@ -675,13 +675,16 @@ var AIRTIME = (function(AIRTIME) {
|
||||||
oTable.fnSetFilteringDelay(350);
|
oTable.fnSetFilteringDelay(350);
|
||||||
|
|
||||||
$libContent.on("click", "legend", function(){
|
$libContent.on("click", "legend", function(){
|
||||||
|
$simpleSearch = $libContent.find("#library_display_filter label");
|
||||||
var $fs = $(this).parents("fieldset");
|
var $fs = $(this).parents("fieldset");
|
||||||
|
|
||||||
if ($fs.hasClass("closed")) {
|
if ($fs.hasClass("closed")) {
|
||||||
$fs.removeClass("closed");
|
$fs.removeClass("closed");
|
||||||
|
$simpleSearch.addClass("sp-invisible");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$fs.addClass("closed");
|
$fs.addClass("closed");
|
||||||
|
$simpleSearch.removeClass("sp-invisible");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue