Ver código fonte

Update Resources/public/base.js

Fix duplicate line inserting proto twice
netounet 12 anos atrás
pai
commit
87f71651e8
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0 1
      Resources/public/base.js

+ 0 - 1
Resources/public/base.js

@@ -165,7 +165,6 @@ var Admin = {
             var nameRegexp = new RegExp(parts[parts.length-1]+'\\]\\[__name__','g');
             proto = proto.replace(nameRegexp, parts[parts.length-1]+']['+container.children().length);
             jQuery(proto).insertBefore(jQuery(this).parent());
-            jQuery(proto).insertBefore(jQuery(this).parent());
             
             jQuery(this).trigger('sonata-collection-item-added');
         });