mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Fix Pad#copy routine for updating group list
This commit is contained in:
parent
c4f9828825
commit
3cafd689af
1 changed files with 1 additions and 1 deletions
|
@ -552,7 +552,7 @@ Pad.prototype.copy = function copy(destinationID, force, callback) {
|
|||
},
|
||||
function(callback) {
|
||||
// Group pad? Add it to the group's list
|
||||
if(destGroupID) db.setSub("group:" + destGroupID, ["pads", padID], 1);
|
||||
if(destGroupID) db.setSub("group:" + destGroupID, ["pads", destinationID], 1);
|
||||
|
||||
// Initialize the new pad (will update the listAllPads cache)
|
||||
padManager.getPad(destinationID, null, callback)
|
||||
|
|
Loading…
Reference in a new issue