summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2009-08-30 15:08:23 +0200
committerAndreas Gohr <andi@splitbrain.org>2009-08-30 15:08:23 +0200
commitb166ccbc5371b578dd76203b075b0e763bf9da4b (patch)
tree1aee210b138c86fcebe3225d81f802a2f3737acc /lib
parentc182313eb4e1146476bd73b7fbb9fdf66266a69f (diff)
downloadrpg-b166ccbc5371b578dd76203b075b0e763bf9da4b.tar.gz
rpg-b166ccbc5371b578dd76203b075b0e763bf9da4b.tar.bz2
do not prepend colon via javascript in media manager
Ignore-this: 67ae7589474461a1279720865f0d18b9 Just moves the prepending of the colon (for absolute namespaces) from the javascript to the PHP backend code - makes reusing the javascript for non local files easier. darcs-hash:20090830130823-7ad00-2b53e48edd8e117ac3f7814c50ea429e06284809.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/scripts/media.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scripts/media.js b/lib/scripts/media.js
index 17862d48b..4ae31a989 100644
--- a/lib/scripts/media.js
+++ b/lib/scripts/media.js
@@ -208,7 +208,7 @@ media = {
}
return false;
}
- opener.insertTags('wiki__text','{{:'+id+'|','}}','');
+ opener.insertTags('wiki__text','{{'+id+'|','}}','');
if(!media.keepopen) window.close();
opener.focus();