diff options
author | Marcel Klehr <mklehr@gmx.net> | 2013-10-14 18:20:24 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2013-10-14 18:20:24 +0200 |
commit | 22b0bafafdcbab8da38aa847e97218ca028a92bd (patch) | |
tree | 84d27a544ae4f34a39e389ac81eb0b994a5d936e /src | |
parent | ef4e0d0eb0ba6f3f54b724cb160470d902a48696 (diff) | |
download | etherpad-lite-22b0bafafdcbab8da38aa847e97218ca028a92bd.zip |
Pad list cache: You can't change the cache if it's not initiated
(as per 200f2507172d50084cd8cfe6aae6b25a3045fb09 - doh.)
Diffstat (limited to 'src')
-rw-r--r-- | src/node/db/PadManager.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/db/PadManager.js b/src/node/db/PadManager.js index 868137f9..ea21fe94 100644 --- a/src/node/db/PadManager.js +++ b/src/node/db/PadManager.js @@ -60,10 +60,10 @@ var padList = { { if(ERR(err, cb)) return; if(dbData != null){ + padList.initiated = true dbData.forEach(function(val){ padList.addPad(val.replace(/pad:/,""),false); }); - padList.initiated = true cb && cb() } }); |