Allow server to specify copy link dialog title

This commit is contained in:
nathangray 2018-03-07 11:27:35 -07:00 committed by Hadi Nategh
parent 796f485117
commit e17b372740

View File

@ -1209,7 +1209,7 @@ app.classes.filemanager = AppJS.extend(
jQuery("body").off("click", "[name=share_link]", copy_link_to_clipboard);
return true;
},
title: egw.lang("%1 Share Link", _data.action ==='shareWritableLink'? "Writable": "Readonly"),
title: _data.title ? _data.title : egw.lang("%1 Share Link", _data.action ==='shareWritableLink'? "Writable": "Readonly"),
template: _data.template,
width: 450,
value: {content:{ "share_link": _data.share_link }}