Commit ac5615a9 authored by Aaron Wells's avatar Aaron Wells
Browse files

Removing target="blank" links created via MochiKit

Bug 1558361

behatnotneed

Change-Id: Idc3f0a010fef76a0908f65ce88bf52ae870170d3
parent 32819cbe
......@@ -11,7 +11,7 @@ function addNewTaggedPostShortcut(blockid) {
var BlogIDInput = INPUT({'name': 'blog', 'type': 'text', 'value': selectedBlog.value});
var TagInput = INPUT({'name': 'tagselect', 'type': 'text', 'value': currentTag.value});
var myForm = FORM(
{'action': config.wwwroot + 'artefact/blog/post.php', 'target': '_blank', 'method': 'POST'},
{'action': config.wwwroot + 'artefact/blog/post.php', 'method': 'POST'},
BlogIDInput,
TagInput
);
......
......@@ -768,7 +768,7 @@ function FileBrowser(idprefix, folderid, config, globalconfig) {
filelink = self.filedata[id].title;
}
else {
filelink = A({'href':self.config.wwwroot + 'artefact/file/download.php?file=' + id, 'target':'_blank'}, self.filedata[id].title);
filelink = A({'href':self.config.wwwroot + 'artefact/file/download.php?file=' + id}, self.filedata[id].title);
}
fileIconImg = ''
......
......@@ -1679,7 +1679,7 @@ class ArtefactTypeBook extends ArtefactTypeResumeComposite {
}
public static function get_tablerenderer_body_js_string() {
return "DIV(r.description, DIV({'id':'composite-book-url'}, A({'href':r.url, 'target':'_blank'}, r.url)))";
return "DIV(r.description, DIV({'id':'composite-book-url'}, A({'href':r.url}, r.url)))";
}
public static function get_tablerenderer_attachments_js_string() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment