mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
Filemanager - correctly show 'Writable share link' in dialog title if writable checkbox was checked
This commit is contained in:
parent
eb57d7317f
commit
59cf097a09
@ -1205,7 +1205,10 @@ app.classes.filemanager = AppJS.extend(
|
||||
jQuery("body").off("click", "[name=share_link]", copy_link_to_clipboard);
|
||||
return true;
|
||||
},
|
||||
title: _data.title ? _data.title : this.egw.lang((_data.action ==='shareWritableLink'? "Writable": "Readonly") +" Share Link"),
|
||||
title: _data.title ? _data.title : this.egw.lang(
|
||||
"%1 Share Link", _data.writable || _data.action ==='shareWritableLink' ?
|
||||
egw.lang("Writable") : egw.lang("Readonly")
|
||||
),
|
||||
template: _data.template,
|
||||
width: 450,
|
||||
value: {content:{ "share_link": _data.share_link }}
|
||||
|
Loading…
Reference in New Issue
Block a user