Commit d72ead8f authored by Boris Kocherov's avatar Boris Kocherov

tests: show correct json_document if json_document empty

parent 7e8368e5
...@@ -51,9 +51,6 @@ ...@@ -51,9 +51,6 @@
.push(function (ret) { .push(function (ret) {
var valid = g.state.valid, var valid = g.state.valid,
changed = g.state.changed; changed = g.state.changed;
if (ret === undefined) {
ret = {};
}
if (typeof valid === "boolean") { if (typeof valid === "boolean") {
if (valid) { if (valid) {
valid = "form filed valid"; valid = "form filed valid";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment