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

Do not use deprecated functions.

parent b9858ad5
......@@ -29,7 +29,7 @@
</div>
<div class="form-group">
<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>
</form>
......@@ -54,7 +54,7 @@
</div>
<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>
</script>
......@@ -75,7 +75,7 @@
$(function () {
$(".qfq-fields").each(
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