mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
Don't show dockerSearch if searching a repository
This commit is contained in:
parent
28b6a1a1d4
commit
9e2adb2c06
Binary file not shown.
@ -721,8 +721,10 @@ function doSearch(button,newSearch) {
|
|||||||
}
|
}
|
||||||
data.searchActive = true;
|
data.searchActive = true;
|
||||||
var sortOrder = getSortOrder();
|
var sortOrder = getSortOrder();
|
||||||
if ( "<?=$cfg['dockerSearch']?>" == "yes" && ! dockerNotEnabled) {
|
if ( "<?=$cfg['dockerSearch']?>" == "yes" && ! dockerNotEnabled && (filter.indexOf(" Repository") < 1) ) {
|
||||||
$('.dockerSearch').show();
|
$('.dockerSearch').show();
|
||||||
|
} else {
|
||||||
|
$('.dockerSearch').hide();
|
||||||
}
|
}
|
||||||
post({action:'get_content',filter:filter,sortOrder:sortOrder},function(result) {
|
post({action:'get_content',filter:filter,sortOrder:sortOrder},function(result) {
|
||||||
enableButtons();
|
enableButtons();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user