From 06809fd3ba0263a80da20c7b8a40a2f2d36cc969 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 19 Aug 2019 16:53:17 +0200 Subject: [PATCH] Update codemirror settings in realtime --- www/common/outer/async-store.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index b7ac2da26..2abcb1b1e 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -738,7 +738,10 @@ define([ var object = getAttributeObject(data.attr); object.obj[object.key] = data.value; } catch (e) { return void cb({error: e}); } - onSync(cb); + onSync(function () { + cb(); + broadcast([], "UPDATE_METADATA"); + }); }; Store.getAttribute = function (clientId, data, cb) { var object;