This is an automated email from the ASF dual-hosted git repository.

dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git

commit 5e4af4833908cce6a71ff5981155bebb9f8b6640
Author: Dan Klco <[email protected]>
AuthorDate: Fri May 11 15:29:25 2018 -0400

    Fixing an issue when there was more than one repeating field
---
 cms/ui/src/main/frontend/src/js/scripts.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cms/ui/src/main/frontend/src/js/scripts.js 
b/cms/ui/src/main/frontend/src/js/scripts.js
index 970c6a6..13c65ed 100644
--- a/cms/ui/src/main/frontend/src/js/scripts.js
+++ b/cms/ui/src/main/frontend/src/js/scripts.js
@@ -292,7 +292,7 @@ Sling.CMS = {
                                $rep.find('.repeating__add').click(function(){
                                        var $div = 
$('<div/>').html($rep.find('.repeating__template').html());
                                        Sling.CMS.decorate($div);
-                                       $('.repeating__container').append($div);
+                                       
$rep.find('.repeating__container').append($div);
                                        return false;
                                });
                        });

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to