From 89803a7cb0d8b6d20ddc3fda41b3b7f7b7739d2c Mon Sep 17 00:00:00 2001
From: othermachines <othermachines@1201100.no-reply.drupal.org>
Date: Sun, 13 May 2012 14:07:17 -0600
Subject: [PATCH] Issue #1565812: Fix CSS conflict with admin module by suppressing it.

---
 media.module |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/media.module b/media.module
index db1dec1..5a331db 100644
--- a/media.module
+++ b/media.module
@@ -436,6 +436,10 @@ function media_page_alter(&$page) {
     if (module_exists('admin_menu')) {
       admin_menu_suppress();
     }
+    // temporary fix while awaiting fix for 1268324
+    if (module_exists('admin')) {
+      module_invoke('admin', 'suppress');
+    }
     foreach (element_children($page) as $key) {
       if ($key != 'content') {
         unset($page[$key]);
-- 
1.7.4.msysgit.0

