Hide multiinstall buttons if no previous apps were found
parent
b784fca15e
commit
ed82f89b48
Binary file not shown.
|
@ -21,7 +21,7 @@ function display_apps($pageNumber=1,$selectedApps=false,$startup=false) {
|
|||
$communityApplications = is_array($file['community']) ? $file['community'] : array();
|
||||
$totalApplications = count($communityApplications);
|
||||
|
||||
$display = ( $totalApplications ) ? my_display_apps($communityApplications,$pageNumber,$selectedApps,$startup) : "<div class='ca_NoAppsFound'>".tr("No Matching Applications Found")."</div>";
|
||||
$display = ( $totalApplications ) ? my_display_apps($communityApplications,$pageNumber,$selectedApps,$startup) : "<div class='ca_NoAppsFound'>".tr("No Matching Applications Found")."</div><script>$('.multi_installDiv').hide();</script>";
|
||||
|
||||
return $display;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue