mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 14:47:12 -04:00
undo last change
This commit is contained in:
parent
206c2273bd
commit
7869e4b69b
1 changed files with 3 additions and 3 deletions
|
@ -469,11 +469,11 @@ listAllPads() returns a array with all pads
|
|||
|
||||
Example returns:
|
||||
|
||||
{code: 0, message:"ok", data: {padIDs: {}}}
|
||||
{code: 0, message:"ok", data: {padIDs: []}}
|
||||
*/
|
||||
exports.listAllPads = function(callback)
|
||||
{
|
||||
allPads = {};
|
||||
allPads = [];
|
||||
|
||||
var defaultGroup = "g.defaultGroupName";
|
||||
|
||||
|
@ -496,7 +496,7 @@ exports.listAllPads = function(callback)
|
|||
{
|
||||
for(var pad in pads["padIDs"])
|
||||
{
|
||||
allPads[pad] = pads["padIDs"][pad];
|
||||
allPads.push(pads["padIDs"][pad]);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue