diff --git a/admin_menu.js b/admin_menu.js
index de0bb90..64b4d78 100644
--- a/admin_menu.js
+++ b/admin_menu.js
@@ -125,6 +125,10 @@ Drupal.admin.getCache = function (hash, onSuccess) {
     cache: true,
     type: 'GET',
     dataType: 'text', // Prevent auto-evaluation of response.
+    accepts: {
+      html: 'text/html',
+      text: 'text/html'
+    },
     global: false, // Do not trigger global AJAX events.
     url: Drupal.settings.admin_menu.basePath.replace(/admin_menu/, 'js/admin_menu/cache/' + hash),
     success: onSuccess,
