fixed link in popup media manager to fullscreen media manager to open in correct namespace (FS#2401)
This commit is contained in:
parent
b1ab5da7c7
commit
eea07c2327
1 changed files with 1 additions and 1 deletions
|
@ -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>';
|
||||
|
||||
|
|
Loading…
Reference in a new issue