Commit 854688d9 authored by Jérome Perrin's avatar Jérome Perrin

fields: the key for tooltip is "description"

parent 959c10c4
......@@ -13,7 +13,8 @@
var input = this.element.querySelector('input');
input.setAttribute('value', options.value);
input.setAttribute('name', options.key);
input.setAttribute('title', options.title || options.key);
input.setAttribute('title',
options.property_definition.description);
})
.declareMethod('getContent', function () {
......
......@@ -13,7 +13,8 @@
var input = this.element.querySelector('input');
input.setAttribute('value', options.value || "");
input.setAttribute('name', options.key);
input.setAttribute('title', options.title || options.key);
input.setAttribute('title',
options.property_definition.description);
})
.declareMethod('getContent', function () {
......
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