From b9a9bde94aa020974c06f05c312d4c092da43706 Mon Sep 17 00:00:00 2001 From: cat Date: Tue, 13 Oct 2015 09:52:33 +0200 Subject: [PATCH] LSP - grmbl incomplete list --- lsp/mist.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lsp/mist.js b/lsp/mist.js index 3655b92c..cd042f82 100644 --- a/lsp/mist.js +++ b/lsp/mist.js @@ -4219,14 +4219,17 @@ var mist = { if ('log' in d) { mist.data.log = d.log; } if ('streams' in d) { if (d.streams) { - if ('incomplete_list' in d.streams) { - delete d.streams.incomplete_list; + if ('incomplete list' in d.streams) { + delete d.streams['incomplete list']; + $.extend(mist.data.streams,d.streams); + } + else { + mist.data.streams = d.streams; } } else { - d.streams = {}; + mist.data.streams = {}; } - mist.data.streams = d.streams; } //does this really belong globally stored here?