You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by th...@apache.org on 2014/01/26 21:10:35 UTC

git commit: Fixes TAP5-2230: AjaxFormLoop Add Row Broken

Updated Branches:
  refs/heads/master 1a07fad31 -> 875927fd2


Fixes TAP5-2230: AjaxFormLoop Add Row Broken

Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/875927fd
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/875927fd
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/875927fd

Branch: refs/heads/master
Commit: 875927fd2c651604dfaae30f52b986e7b503adee
Parents: 1a07fad
Author: Thiago H. de Paula Figueiredo <th...@apache.org>
Authored: Sun Jan 26 18:10:24 2014 -0200
Committer: Thiago H. de Paula Figueiredo <th...@apache.org>
Committed: Sun Jan 26 18:10:24 2014 -0200

----------------------------------------------------------------------
 .../main/coffeescript/META-INF/modules/t5/core/ajaxformloop.coffee | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/875927fd/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/ajaxformloop.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/ajaxformloop.coffee b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/ajaxformloop.coffee
index 69025d5..4818266 100644
--- a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/ajaxformloop.coffee
+++ b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/ajaxformloop.coffee
@@ -72,7 +72,7 @@ define ["./dom", "./events", "./console", "./ajax"],
                 </#{insertionPoint.element.tagName}>
               """
 
-          insertionPoint.insertBefore newElement
+          newElement = insertionPoint.insertBefore newElement
 
           # Trigger this event, to inform the world that the zone-like new element has been updated
           # with content.