Filemanager - Add some actions for merge-print shares into email templates

This commit is contained in:
nathangray
2019-07-16 13:44:20 -06:00
parent 0538185b36
commit 87c4f0ff9c
4 changed files with 68 additions and 38 deletions

View File

@ -1174,19 +1174,6 @@ app.classes.filemanager = AppJS.extend(
}
},
/**
* create a share-link for the given file or directory
* @param {object} _action egw actions
* @param {object} _senders selected nm row
* @returns {Boolean} returns false if not successful
*/
share_link: function(_action, _senders){
var path = this.id2path(_senders[0].id);
egw.json('filemanager_ui::ajax_action', [_action.id, path],
this._share_link_callback, this, true, this).sendRequest();
return true;
},
/**
* Share-link callback
* @param {object} _data