Index: branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/_maintenanceActions.gsp
===================================================================
--- branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/_maintenanceActions.gsp	(revision 777)
+++ branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/_maintenanceActions.gsp	(revision 778)
@@ -6,23 +6,4 @@
     var ma_fields = ["toBeDeleted", "isNew", "description", "reasoning", "assetSubItem.id", "procedureStepNumber"];
     var ma_focusField = "procedureStepNumber";
-
-
-    function addChild(wrapperId, cloneId, lazyList, fields, focusField, childCount){
-
-        var clone = jQuery("#"+cloneId).clone();
-        clone.attr('id', lazyList+childCount);
-        var htmlId = lazyList+'['+childCount+'].';
-
-        var fieldsMap = {};
-        jQuery.each(fields, function(index, field) {
-            fieldsMap[field] = clone.find('[id$="'+field+'"]');
-            fieldsMap[field].attr('id',htmlId + field)
-                                        .attr('name',htmlId + field);
-        });
-
-        jQuery("#"+wrapperId).append(clone);
-        clone.show();
-        fieldsMap[focusField].focus();
-    }
 
     // Click event on add button.
Index: branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/create.gsp
===================================================================
--- branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/create.gsp	(revision 777)
+++ branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/create.gsp	(revision 778)
@@ -7,4 +7,5 @@
         <title>Create TaskProcedure</title>
         <nav:resources override="true"/>
+        <g:javascript src="dynamicOneToMany.js" />
     </head>
     <body>
Index: branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/edit.gsp
===================================================================
--- branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/edit.gsp	(revision 777)
+++ branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/edit.gsp	(revision 778)
@@ -7,4 +7,5 @@
         <title>Edit TaskProcedure</title>
         <nav:resources override="true"/>
+        <g:javascript src="dynamicOneToMany.js" />
     </head>
     <body>
