Try pgsql fix

This commit is contained in:
Laurent Destailleur 2019-01-21 01:51:28 +01:00
parent 2f4fda059e
commit 2e9e413e17

View File

@ -554,8 +554,8 @@ else
if (count($notavailable_choices)) { if (count($notavailable_choices)) {
print '<div id="AShowChoices">'; print '<br><div id="AShowChoices" style="opacity: 0.5">';
print '<img src="../theme/eldy/img/1downarrow.png">'; print '<img id="availchoice" src="../theme/eldy/img/1downarrow.png"> '.$langs->trans('ShowNotAvailableOptions').'...';
print '</div>'; print '</div>';
print '<div id="navail_choices" style="display:none">'; print '<div id="navail_choices" style="display:none">';
@ -573,16 +573,14 @@ else
print '<script type="text/javascript"> print '<script type="text/javascript">
$("div#AShowChoices a").click(function() { $("div#AShowChoices").click(function() {
$("div#navail_choices").toggle(); $("div#navail_choices").toggle();
if ($("div#navail_choices").css("display") == "none") { if ($("div#navail_choices").css("display") == "none") {
$(this).text("'.$langs->trans('ShowNotAvailableOptions').'"); $(this).text("'.$langs->trans('ShowNotAvailableOptions').'...");
$(this).parent().children("img").attr("src", "../theme/eldy/img/1downarrow.png");
} else { } else {
$(this).text("'.$langs->trans('HideNotAvailableOptions').'"); $(this).text("'.$langs->trans('HideNotAvailableOptions').'...");
$(this).parent().children("img").attr("src", "../theme/eldy/img/1uparrow.png");
} }
}); });