Fix delete of file from file manager

This commit is contained in:
Laurent Destailleur 2020-10-02 03:07:31 +02:00
parent 4e49461143
commit ce0fa53cb0
2 changed files with 2 additions and 3 deletions

View File

@ -4047,7 +4047,7 @@ class Form
{ {
global $langs, $conf; global $langs, $conf;
$more = '<!-- formconfirm -->'; $more = '<!-- formconfirm for page='.dol_escape_htmltag($page).' -->';
$formconfirm = ''; $formconfirm = '';
$inputok = array(); $inputok = array();
$inputko = array(); $inputko = array();
@ -4232,7 +4232,6 @@ class Form
}); });
} }
var urljump = pageyes + (pageyes.indexOf("?") < 0 ? "?" : "") + options; var urljump = pageyes + (pageyes.indexOf("?") < 0 ? "?" : "") + options;
//alert(urljump);
if (pageyes.length > 0) { location.href = urljump; } if (pageyes.length > 0) { location.href = urljump; }
$(this).dialog("close"); $(this).dialog("close");
}, },

View File

@ -2433,7 +2433,7 @@ if (!GETPOST('hide_websitemenu'))
print '</span>'; print '</span>';
} }
} else { } else {
print '<input type="hidden" name="website" id="website" value='.$websitekey.'">'; print '<input type="hidden" name="website" id="website" value="'.$websitekey.'">';
} }