Commit 99ad93ad authored by Serge S. Koval's avatar Serge S. Koval

Merge pull request #568 from Raz0r/patch-3

fix #564: check if parent id is already here
parents a35fd2e0 03f7fffb
......@@ -138,7 +138,7 @@
var $parentForm = $el.parent().closest('.inline-field');
if ($parentForm.length > 0) {
if ($parentForm.length > 0 && elID.indexOf($parentForm.attr('id')) !== 0) {
id = $parentForm.attr('id') + '-' + elID;
}
......
Markdown is supported
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