mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-08 03:02:03 +01:00
allow padId to be passed into the hook
This commit is contained in:
parent
2218cbd252
commit
7cf0e4a9ae
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ exports.getPadHTMLDocument = function (padId, revNum, noDocType, callback)
|
||||||
if(ERR(err, callback)) return;
|
if(ERR(err, callback)) return;
|
||||||
|
|
||||||
// Include some Styles into the Head for Export
|
// Include some Styles into the Head for Export
|
||||||
var stylesForExport = hooks.callAllStr("stylesForExport") || ''
|
var stylesForExport = hooks.callAllStr("stylesForExport", padId) || ''
|
||||||
|
|
||||||
var head =
|
var head =
|
||||||
(noDocType ? '' : '<!doctype html>\n') +
|
(noDocType ? '' : '<!doctype html>\n') +
|
||||||
|
|
Loading…
Reference in a new issue