From 6b87e6fa232d1a4d19b844499c58896c58d572ef Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Sun, 13 May 2007 23:33:50 +0200 Subject: [PATCH] javascript fix for recent mediamanager xhtml fix darcs-hash:20070513213350-7ad00-ed07ed98389045714328c34aaf318fc7734665a2.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 f76c528b3..bcc37b3d7 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); + var ex = $('ex_'+id.replace(/:/,'_')); if(ex.style.display == ''){ ex.style.display = 'none'; }else{ -- GitLab