Repository: tapestry-5
Updated Branches:
  refs/heads/master 4978906db -> a42b25016


minor cleanup


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

Branch: refs/heads/master
Commit: 93931644a5883749ad642aa4502aef34a3075e4d
Parents: 4978906
Author: Jochen Kemnade <jochen.kemn...@eddyson.de>
Authored: Thu Oct 30 09:05:54 2014 +0100
Committer: Jochen Kemnade <jochen.kemn...@eddyson.de>
Committed: Fri Oct 23 11:14:56 2015 +0200

----------------------------------------------------------------------
 .../coffeescript/META-INF/modules/t5/core/ajaxformloop.coffee   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/93931644/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 e12e5be..ef1884e 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
@@ -59,7 +59,7 @@ define ["./dom", "./events", "./console", "./ajax"],
       url = afl.attr "data-inject-row-url"
 
       ajax url,
-        success: (response) =>
+        success: (response) ->
           content = response.json?.content or ""
 
           # Create a new element with the same type (usually "div") and class 
as this element.
@@ -75,8 +75,9 @@ define ["./dom", "./events", "./console", "./ajax"],
           # Trigger this event, to inform the world that the zone-like new 
element has been updated
           # with content.
           insertionPoint.trigger events.zone.didUpdate
+          return
 
       return false
 
     # This module is all event handlers, and no exported functions.
-    return null
\ No newline at end of file
+    return
\ No newline at end of file

Reply via email to