push
This commit is contained in:
parent
d7164ebb8e
commit
306b6717ed
|
@ -144,7 +144,7 @@
|
|||
<script src="https://cdn.bootcss.com/ace/1.4.2/ace.js"></script>
|
||||
<script type="text/javascript">
|
||||
var editor = ace.edit("editor");
|
||||
var error_empty = <?php echo !empty($error); ?>;
|
||||
var error_empty = <?php echo isset($error) ? 0 : 1; ?>;
|
||||
editor.setTheme("ace/theme/monokai");
|
||||
editor.session.setMode("ace/mode/json");
|
||||
editor.on('change', function (e) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user