diff options
author | Marcel Klehr <mklehr@gmx.net> | 2014-07-07 21:14:00 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2014-07-07 21:14:00 +0200 |
commit | 3cafd689af13657bd583fbfec8a37e62eee7ca4b (patch) | |
tree | 9267118a818ef01a351a242395ceaeeb9a51664e /src/node/db/Pad.js | |
parent | c4f9828825f812de7521edbd2654b0f02299510b (diff) | |
download | etherpad-lite-3cafd689af13657bd583fbfec8a37e62eee7ca4b.zip |
Fix Pad#copy routine for updating group list
Diffstat (limited to 'src/node/db/Pad.js')
-rw-r--r-- | src/node/db/Pad.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/db/Pad.js b/src/node/db/Pad.js index 1589e8c5..4670696a 100644 --- a/src/node/db/Pad.js +++ b/src/node/db/Pad.js @@ -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) |