mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
Merge pull request #2150 from ether/export-file-name-hook
Server side hook to modify the export file name
This commit is contained in:
commit
44cb676ba2
3 changed files with 185 additions and 157 deletions
|
@ -98,7 +98,7 @@ exports.doImport = function(req, res, padId)
|
|||
}
|
||||
},
|
||||
function(callback){
|
||||
destFile = path.join(tmpDirectory, "eplite_import_" + randNum + ".htm");
|
||||
destFile = path.join(tmpDirectory, "etherpad_import_" + randNum + ".htm");
|
||||
|
||||
// Logic for allowing external Import Plugins
|
||||
hooks.aCallAll("import", {srcFile: srcFile, destFile: destFile}, function(err, result){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue