Commit 03f7fffb authored by Raz0r's avatar Raz0r

fix #564: check if parent id is already here

parent a35fd2e0
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
var $parentForm = $el.parent().closest('.inline-field'); 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; 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