From 86190d2fae5622604c3feb484bd6362f2401d7ff Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Mon, 28 Oct 2013 22:44:43 +0100 Subject: [PATCH] Bugfix: new pads not in listAllPads data if padList cache already created Since commit 200f2507172d50084cd8cfe6aae6b25a3045fb09, the new pads aren't listed in listAllPads data. They appears only if we don't have called listAllPads before creating the new pad (because we read the db at first listAllPads call). --- src/node/db/PadManager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node/db/PadManager.js b/src/node/db/PadManager.js index ea21fe94a61..66e5fc3811d 100644 --- a/src/node/db/PadManager.js +++ b/src/node/db/PadManager.js @@ -39,6 +39,7 @@ var globalPads = { set: function (name, value) { this[':'+name] = value; + padList.addPad(name); }, remove: function (name) { delete this[':'+name];