include the callback call, for sanity and stop the pad from being nuked so early in the function

This commit is contained in:
John McLear 2013-02-12 23:38:02 +00:00
parent 086132de66
commit e152c477c7
2 changed files with 4 additions and 5 deletions

View file

@ -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);