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 2008/06/28 00:57:27 UTC
svn commit: r672417 -
/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/palette.js
Author: hlship
Date: Fri Jun 27 15:57:26 2008
New Revision: 672417
URL: http://svn.apache.org/viewvc?rev=672417&view=rev
Log:
TAPESTRY-2490: Palette component forces an unwanted form submit under FireFox 3
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/palette.js
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/palette.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/palette.js?rev=672417&r1=672416&r2=672417&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/palette.js (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/palette.js Fri Jun 27 15:57:26 2008
@@ -108,11 +108,15 @@
selectClicked : function(event)
{
this.transferOptions(this.avail, this.selected, this.reorder);
+
+ Event.stop(event);
},
deselectClicked : function(event)
{
this.transferOptions(this.selected, this.avail, false);
+
+ Event.stop(event);
},
transferOptions : function (from, to, atEnd)