From 82938a26ac36e50371bf06400c2e3c86230f7317 Mon Sep 17 00:00:00 2001
From: Anika Henke <a.c.henke@arcor.de>
Date: Mon, 14 May 2007 00:08:16 +0200
Subject: [PATCH] fix of js fix of xhtml fix of mediamanager *g*

darcs-hash:20070513220816-d5083-3d1ab51294c79f48a9a88159de579b32768a3a16.gz
---
 lib/scripts/media.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/scripts/media.js b/lib/scripts/media.js
index bcc37b3d7..0582d516d 100644
--- a/lib/scripts/media.js
+++ b/lib/scripts/media.js
@@ -173,7 +173,7 @@ media = {
 
         if(!opener){
             // if we don't run in popup display example
-            var ex = $('ex_'+id.replace(/:/,'_'));
+            var ex = $('ex_'+id.replace(/:/g,'_'));
             if(ex.style.display == ''){
                 ex.style.display = 'none';
             }else{
-- 
GitLab