fixed permission

This commit is contained in:
Sebastian Frank
2019-03-05 16:45:04 +01:00
parent c8467208ac
commit 9d1b2eaaf7
3 changed files with 13 additions and 13 deletions

View File

@@ -130,14 +130,14 @@
} else {
App.ui.notify("unknown error", "danger");
}
if (data) {
if (data) {
$this.modal.show();
editor = $this.refs.codemirror.editor;
editor.setValue(JSON.stringify(data, null, 2), true);
editor.setOption("readOnly", true);
editor.setSize($this.modal.dialog[0].clientWidth - 50, $this.modal.dialog[0].clientHeight - 70);
editor.refresh();
}
}
return;
}
App.ui.notify(App.i18n.get("A new deploy was requested."), "success");