Update codemirror settings in realtime

pull/1/head
yflory 2019-08-19 16:53:17 +02:00
parent 92a41f84f7
commit 06809fd3ba
1 changed files with 4 additions and 1 deletions

View File

@ -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;