You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2010/02/06 02:22:00 UTC
svn commit: r907154 -
/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
Author: hlship
Date: Sat Feb 6 01:22:00 2010
New Revision: 907154
URL: http://svn.apache.org/viewvc?rev=907154&view=rev
Log:
Have the trigger-Ajax-update event handler check to see if the event has been stopped (by the tapx/Confirm mixin, presumably)
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js?rev=907154&r1=907153&r2=907154&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js Sat Feb 6 01:22:00 2010
@@ -809,7 +809,9 @@
element.observe(eventName, function(event)
{
- event.stop();
+ if (event.stopped) return;
+
+ event.stop();
element.fire(Tapestry.TRIGGER_ZONE_UPDATE_EVENT);
});