mirror of https://gitee.com/bigwinds/arangodb
small json ui improvement
This commit is contained in:
parent
2969c886fe
commit
67b3b94dbd
|
@ -268,7 +268,10 @@
|
|||
mode: mode
|
||||
}));
|
||||
|
||||
//init ace
|
||||
self.jsonEditor = ace.edit("swaggerJsonEditor");
|
||||
self.jsonEditor.setReadOnly(true);
|
||||
self.jsonEditor.getSession().setMode("ace/mode/json");
|
||||
|
||||
$.get(this.appUrl(db)).success(function () {
|
||||
$(".open", this.el).prop('disabled', false);
|
||||
|
|
Loading…
Reference in New Issue