window.gitlist.invalidSnackbarCommit()
return;
}
try {
// http://php.net/manual/en/features.file-upload.php#114004
const inputs = window.gitlist.commitModelInputs['new-binary']
const json = await window.gitlist.gitHelperAjax({
upload: true,
modal: $buttonNewBinaryModal,
action: 'file-binary',
inputs: inputs,
filename: $inputNewfileBinaryFile.val(),
fileUpload: $inputNewfileBinaryUpload,
data: {