Skip to content
Snippets Groups Projects
Commit 6e37f3d9 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

insert media with leading colon

fixes a bug when a mediafile from the top namespace is referenced in
a subnamespace. Thanks to Otto Vainio for reporting

darcs-hash:20051015191850-7ad00-b5c2c965b6032b081973e25d02adb2a9408b54de.gz
parent 5e163278
No related branches found
No related tags found
No related merge requests found
......@@ -719,7 +719,7 @@ function tpl_mediafilelist(){
ptln('<ul>',2);
foreach($data as $item){
ptln('<li>',4);
ptln('<a href="javascript:mediaSelect(\''.$item['id'].'\')">'.
ptln('<a href="javascript:mediaSelect(\':'.$item['id'].'\')">'.
utf8_decodeFN($item['file']).
'</a>',6);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment