Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit c7ef15ce authored by Ryan Herbert's avatar Ryan Herbert
Browse files

form_builder.js fix label object for build_date

parent 33e72414
...@@ -111,7 +111,7 @@ FormBuilder.prototype.build_date = function(id, object, name, label) { ...@@ -111,7 +111,7 @@ FormBuilder.prototype.build_date = function(id, object, name, label) {
} }
var d = this.build_wrapper(); var d = this.build_wrapper();
d.appendChild(this.build_label(label, this.type, id)); d.appendChild(this.build_label(label, object, id));
var i = this.build_input(id, 'date', name, 'text', object, false, 'yyyy-mm-dd'); var i = this.build_input(id, 'date', name, 'text', object, false, 'yyyy-mm-dd');
i.pattern = "[0-9]{4}-[0-9]{2}-[0-9]{2}"; i.pattern = "[0-9]{4}-[0-9]{2}-[0-9]{2}";
i.title = "yyyy-mm-dd" i.title = "yyyy-mm-dd"
......
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