Commit 6436b056 authored by stefan.korn's avatar stefan.korn Committed by joseph.olstad

Issue #2989470 by stefan.korn: Disable Option "Keep original filename" in Media Bulk Upload

parent c4c341ca
......@@ -38,6 +38,7 @@ function media_bulk_upload_file_page_edit_multiple($files) {
// Remove the 'replace file' functionality.
$form['multiform'][$key]['replace_upload']['#access'] = FALSE;
$form['multiform'][$key]['replace_keep_original_filename']['#access'] = FALSE;
// Remove any actions.
$form['multiform'][$key]['actions']['#access'] = FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment