get value from codemirror editor (fix)
This commit is contained in:
parent
7b6f4e98e2
commit
9a31ad1016
|
@ -3,7 +3,7 @@ $("#btn_validate").click( function () {
|
|||
$("#errors").html("");
|
||||
$("#results").html("");
|
||||
|
||||
validate($(editor.getValue()).val(), function (feedback) {
|
||||
validate(editor.getValue(), function (feedback) {
|
||||
$.each(feedback.warnings, function (index, warning) {
|
||||
$("#warnings").append($('<li id="warning' + index + '">').text(warning));
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue