Merge branch 'QA_4_7'
This commit is contained in:
commit
0cd143f274
2
js/codemirror/addon/lint/sql-lint.js
vendored
2
js/codemirror/addon/lint/sql-lint.js
vendored
@ -16,7 +16,7 @@ CodeMirror.sqlLint = function(text, updateLinting, options, cm) {
|
||||
to: CodeMirror.Pos(
|
||||
response[idx].toLine, response[idx].toColumn
|
||||
),
|
||||
message_html: response[idx].message,
|
||||
messageHTML: response[idx].message,
|
||||
severity : response[idx].severity
|
||||
});
|
||||
}
|
||||
|
||||
4
js/vendor/codemirror/addon/lint/lint.js
vendored
4
js/vendor/codemirror/addon/lint/lint.js
vendored
@ -116,8 +116,8 @@
|
||||
* The HTML support is patched, submitted upstream at
|
||||
* https://github.com/codemirror/CodeMirror/pull/4861
|
||||
*/
|
||||
if (typeof ann.message_html != 'undefined') {
|
||||
tip.innerHTML = ann.message_html;
|
||||
if (typeof ann.messageHTML != 'undefined') {
|
||||
tip.innerHTML = ann.messageHTML;
|
||||
} else {
|
||||
tip.appendChild(document.createTextNode(ann.message));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user