Commit 4bf86100 authored by steinmb's avatar steinmb Committed by joseph.olstad

Issue #2401989 by Koen.Pasman, steinmb: Add media/ajax/* as administrative path

parent 701b937b
......@@ -168,6 +168,9 @@ function media_menu_local_tasks_alter(&$data, $router_item, $root_path) {
function media_admin_paths() {
$paths['media/*/edit/*'] = TRUE;
$paths['media/*/format-form'] = TRUE;
if (module_exists('admin_language')) {
$paths['media/ajax/*'] = TRUE; // For admin_language module compatibility.
// If the media browser theme is set to the admin theme, ensure it gets set
// as an admin path as well.
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