mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 01:16:15 -04:00
include the callback call, for sanity and stop the pad from being nuked so early in the function
This commit is contained in:
parent
086132de66
commit
e152c477c7
2 changed files with 4 additions and 5 deletions
|
@ -270,7 +270,7 @@ exports.setHTML = function(padID, html, callback)
|
|||
if(ERR(err, callback)) return;
|
||||
|
||||
// add a new changeset with the new html to the pad
|
||||
importHtml.setPadHTML(pad, cleanText(html));
|
||||
importHtml.setPadHTML(pad, cleanText(html), callback);
|
||||
|
||||
//update the clients on the pad
|
||||
padMessageHandler.updatePadClients(pad, callback);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue