mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 04:31:06 +01:00
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"))
|
||||
.appendTo(row)
|
||||
.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]]+"" : "");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user