Commit 11ba46c3 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Do not use deprecated functions.

parent b9858ad5
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<div class="col-md-1"> <div class="col-md-1">
<button type="button" onclick="QfqNS.addFields('#template', '#target', 10)">Add</button> <button type="button" onclick="QfqNS.appendTemplate('#template', '#target', 10)">Add</button>
</div> </div>
</div> </div>
</form> </form>
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</div> </div>
<div class="form-group qfq-delete-button"> <div class="form-group qfq-delete-button">
<button type="button" onclick="QfqNS.removeFields(this)">Remove</button> <button type="button" onclick="QfqNS.removeThisChild(this)">Remove</button>
</div> </div>
</div> </div>
</script> </script>
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
$(function () { $(function () {
$(".qfq-fields").each( $(".qfq-fields").each(
function () { function () {
QfqNS.initializeFields(this); QfqNS.initializeTemplateTarget(this);
} }
); );
}); });
......
Supports Markdown
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