rickilama54 / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

Any ButtonItem ClickHandler gets called twice #364

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Build
2. Run
3. Click the "Echo" button

What is the expected output? What do you see instead?
Only one logged message per button click. Instead there are two.

What version of the product are you using? On what operating system?
1.3-827

Please provide any additional information below.
ButtonItem.js handleClick calls _fireStandardHandler("click") but it also
calls Super("handleClick",...) in FormItem.js which in turn also calls it.

Original issue reported on code.google.com by gary.fue...@gmail.com on 17 Nov 2009 at 1:14

Attachments:

GoogleCodeExporter commented 8 years ago
I just tried SmartGWT versions 1.3 release and the latest nightly build 1.3-828 
--
same result.

Original comment by gary.fue...@gmail.com on 17 Nov 2009 at 1:25

GoogleCodeExporter commented 8 years ago
The fix will hit SVN in a couple of days.

Original comment by sanjiv.j...@gmail.com on 17 Nov 2009 at 1:39

GoogleCodeExporter commented 8 years ago
Fixed in SVN.

Original comment by sanjiv.j...@gmail.com on 26 Nov 2009 at 12:40

GoogleCodeExporter commented 8 years ago

Original comment by sanjiv.j...@gmail.com on 29 Nov 2009 at 10:33

GoogleCodeExporter commented 8 years ago
I had the IButton in tool strip class and it was getting called twice.  I went 
crazy
for some time when I realized it was getting called twice.

Other places, its fine.

Original comment by rajesh.k...@gmail.com on 12 Mar 2010 at 3:54

GoogleCodeExporter commented 8 years ago
Which version of Smart GWT are you using?

Original comment by sanjiv.j...@gmail.com on 12 Mar 2010 at 4:01