diff --git a/Products/zms/plugins/www/common/zmi_ace_editor.js b/Products/zms/plugins/www/common/zmi_ace_editor.js index 78b62a60c..8b8abc6f2 100644 --- a/Products/zms/plugins/www/common/zmi_ace_editor.js +++ b/Products/zms/plugins/www/common/zmi_ace_editor.js @@ -102,7 +102,7 @@ function show_ace_editor(e, toggle=false) { editor.setTheme('ace/theme/eclipse'); editor.getSession().setMode('ace/mode/'+mode); editor.getSession().setValue(value); - editor.getSession().setOptions({ tabSize: 4, useSoftTabs: false }); + editor.getSession().setOptions({ tabSize: 4, useSoftTabs: true }); editor.getSession().on('change',function() { $textarea.val(editor.getSession().getValue()).change(); });