kivi.PartPicker($(elt));
});
+ if (ns.ProjectPicker)
+ ns.run_once_for('input.project_autocomplete', 'project_picker', function(elt) {
+ kivi.ProjectPicker($(elt));
+ });
+
if (ns.CustomerVendorPicker)
ns.run_once_for('input.customer_vendor_autocomplete', 'customer_vendor_picker', function(elt) {
kivi.CustomerVendorPicker($(elt));
<br>
[% L.project_picker('project_id', '', style='width: 600px') %] text<br>
+
+Runtime test:<br>
+<div id='runtime_picker'>'
+
+<script>
+$(function() {
+ $('#runtime_picker').html('[% L.project_picker("project2_id") %]');
+ kivi.reinit_widgets();
+})
+</script>
+