Author: hlship Date: Wed Oct 19 16:53:28 2011 New Revision: 1186327 URL: http://svn.apache.org/viewvc?rev=1186327&view=rev Log: TAP5-1533: File download breaks zone managers due to unload event
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=1186327&r1=1186326&r2=1186327&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 Wed Oct 19 16:53:28 2011 @@ -437,7 +437,7 @@ var Tapestry = { * those false success callbacks. We have a listener for the * window's "beforeunload" event that sets this flag. */ - if (Tapestry.windowUnloaded) + if (Tapestry.windowUnloaded && response.responseText.blank()) return; /*