Commit 2982a6b7 authored by Ryan Herbert's avatar Ryan Herbert

form_builder.js add submission prevention to info

parent 9fcad7f0
......@@ -134,6 +134,11 @@ FormBuilder.prototype.build_info = function(object, keys, label) {
$(this).data('keys', keys);
new VidjilAutoComplete().setupTags(this);
});
txt.onkeydown = function(event) {
if (event.keyCode == 13) {
return false;
}
}
d.appendChild(txt);
return d;
}
......
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