forked from extern/egroupware
If link has a target, use that.
Causes linked files to be opened in new browser tab.
This commit is contained in:
parent
a9ff59e452
commit
9c57ef865d
@ -1599,7 +1599,7 @@ var et2_link_list = et2_link_string.extend(
|
|||||||
$j(document.createElement("td"))
|
$j(document.createElement("td"))
|
||||||
.appendTo(row)
|
.appendTo(row)
|
||||||
.addClass(columns[i])
|
.addClass(columns[i])
|
||||||
.click( function(){self.egw().open(_link_data, "", "view",null,_link_data.app,_link_data.app);})
|
.click( function(){self.egw().open(_link_data, "", "view",null,_link_data.target ? _link_data.target : _link_data.app,_link_data.app);})
|
||||||
.text(_link_data[columns[i]] ? _link_data[columns[i]]+"" : "");
|
.text(_link_data[columns[i]] ? _link_data[columns[i]]+"" : "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user