diff --git a/media.module b/media.module
index 4c45cc0..934376d 100644
--- a/media.module
+++ b/media.module
@@ -168,6 +168,7 @@ function media_menu_local_tasks_alter(&$data, $router_item, $root_path) {
 function media_admin_paths() {
   $paths['media/*/edit/*'] = TRUE;
   $paths['media/*/format-form'] = TRUE;
+  $paths['media/ajax/*'] = TRUE;
 
   // If the media browser theme is set to the admin theme, ensure it gets set
   // as an admin path as well.
