1
0
Fork 0

Make sure Show Interface check asks for HTML

This commit is contained in:
Alan Plum 2016-07-14 14:41:25 +02:00
parent ac4eccee02
commit 315b2e15f2
No known key found for this signature in database
GPG Key ID: 8ED72A9A323B6EFD
1 changed files with 6 additions and 1 deletions

View File

@ -262,7 +262,12 @@
self.jsonEditor.setReadOnly(true);
self.jsonEditor.getSession().setMode('ace/mode/json');
$.get(this.appUrl(db)).success(function () {
$.ajax({
url: this.appUrl(db),
headers: {
accept: 'text/html,*/*;q=0.9'
}
}).success(function () {
$('.open', this.el).prop('disabled', false);
}.bind(this));