Commit 037dcbb3 authored by Jérome Perrin's avatar Jérome Perrin

Debug JSON: Make codemirror display properly the first time it is displayed

This is a quick fix, the problem is in that we have two methods render /
startService
parent 1304a9ed
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
.declareMethod("startService", function () { .declareMethod("startService", function () {
var gadget = this; var gadget = this;
gadget.props.codemirror.refresh();
return new RSVP.Queue() return new RSVP.Queue()
.push(function () { .push(function () {
return promiseEventListener( return promiseEventListener(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment