Commit ede9bfe3 authored by Jérome Perrin's avatar Jérome Perrin

implement getContent on listfield

parent 99496af5
......@@ -43,6 +43,12 @@
});
}
select.innerHTML += tmp;
}).declareMethod('getContent', function () {
var select = this.element.getElementsByTagName('select')[0],
result = {};
result[select.getAttribute("name")] =
select.options[select.selectedIndex].value;
return result;
});
}(window, rJS, Handlebars));
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