Fix button must appears if box selected

This commit is contained in:
Laurent Destailleur 2015-09-07 13:30:02 +02:00
parent 7f05e19e0d
commit fe60927503

View File

@ -145,7 +145,7 @@ if ($action == 'add' && $user->rights->ftp->setup)
{ {
//TODO: Translate //TODO: Translate
setEventMessage('Error '.$langs->trans($ecmdir->error)); setEventMessage('Error '.$langs->trans($ecmdir->error));
$_GET["action"] = "create"; $action = "create";
} }
} }
@ -376,9 +376,11 @@ jQuery(document).ready(function() {
$("#checkall").click(function() { $("#checkall").click(function() {
$(".checkboxfordelete").prop('checked', true); $(".checkboxfordelete").prop('checked', true);
jQuery("#delconst").show();
}); });
$("#checknone").click(function() { $("#checknone").click(function() {
$(".checkboxfordelete").prop('checked', false); $(".checkboxfordelete").prop('checked', false);
jQuery("#delconst").hide();
}); });
}); });