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

disable media options dialog FS#2047

The media options dialog has currently an open bug regarding the
behavior of the nolink option. Additionally will wrong syntax be
inserted when using Internet Explorer < 8. Since this can't be
fixed on time, this patch disables the media options for the release.
parent 8bddd94e
No related branches found
No related tags found
No related merge requests found
......@@ -215,6 +215,14 @@ var media_manager = {
return false;
}
// FIXME these lines deactivate the media options dialog and restore
// the old behavior according to FS#2047
opener.insertTags('wiki__text','{{'+id+'|','}}','');
if(!media_manager.keepopen) window.close();
opener.focus();
return false;
media_manager.ext = false;
var dot = id.lastIndexOf(".");
if (dot != -1) {
......
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