widgets: implement some dynamic props

This commit is contained in:
jean-emmanuel 2018-02-05 09:39:00 +01:00
parent f50ef3521a
commit 8afe791d41
7 changed files with 83 additions and 25 deletions

View file

@ -224,6 +224,10 @@ module.exports = {
widgetHashTable[clientId] = {}
}
if (!widgetHashTable[clientId][data.hash]) {
widgetHashTable[clientId][data.hash] = {}
}
for (var k in data.data) {
widgetHashTable[clientId][data.hash][k] = data.data[k]
}