Project: Picker in reinit_widgets registriert
[kivitendo-erp.git] / templates / webpages / project / test_page.html
index 65f88c4..e4b8d92 100644 (file)
@@ -4,3 +4,14 @@
 
 <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>
+