fixed link in popup media manager to fullscreen media manager to open in correct namespace (FS#2401)

This commit is contained in:
Anika Henke 2011-12-04 17:56:28 +00:00
parent b1ab5da7c7
commit eea07c2327

View file

@ -1364,7 +1364,7 @@ function media_printfile($item,$auth,$jump,$display_namespace=false){
'alt="'.$lang['mediaview'].'" title="'.$lang['mediaview'].'" class="btn" /></a>';
// mediamanager button
$link = wl('',array('do'=>'media','image'=>$item['id']));
$link = wl('',array('do'=>'media','image'=>$item['id'],'ns'=>getNS($item['id'])));
echo ' <a href="'.$link.'" target="_blank"><img src="'.DOKU_BASE.'lib/images/mediamanager.png" '.
'alt="'.$lang['btn_media'].'" title="'.$lang['btn_media'].'" class="btn" /></a>';