PM-1055 Fixin CodeMirror Mode and Autocomplete

This commit is contained in:
jennylee
2014-12-05 14:17:18 -04:00
parent 40aeef0a80
commit 51495f6a0b
2 changed files with 836 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ CodeMirror.commands.autocomplete = function(cm) {
var triggerEditor = CodeMirror.fromTextArea(document.getElementById("form[TRI_WEBBOT]"), {
lineNumbers: true,
matchBrackets: true,
mode: "application/x-httpd-php",
mode: "application/x-httpd-php-open",
PMEnabled: true,
indentUnit: 2,
indentWithTabs: false,