1
0
Fork 0

small json ui improvement

This commit is contained in:
hkernbach 2016-06-21 15:13:09 +02:00
parent 2969c886fe
commit 67b3b94dbd
1 changed files with 3 additions and 0 deletions

View File

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