Author: sergeyhalipov
Date: 2008-01-08 10:30:24 -0500 (Tue, 08 Jan 2008)
New Revision: 5181
Modified:
branches/3.1.x/ui/menu-components/src/main/templates/org/richfaces/htmlMenuItem.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1826
Modified:
branches/3.1.x/ui/menu-components/src/main/templates/org/richfaces/htmlMenuItem.jspx
===================================================================
---
branches/3.1.x/ui/menu-components/src/main/templates/org/richfaces/htmlMenuItem.jspx 2008-01-08
15:03:02 UTC (rev 5180)
+++
branches/3.1.x/ui/menu-components/src/main/templates/org/richfaces/htmlMenuItem.jspx 2008-01-08
15:30:24 UTC (rev 5181)
@@ -47,9 +47,10 @@
<div id="#{clientId}"
class="dr-menu-item dr-menu-item-enabled rich-menu-item rich-menu-item-enabled
#{component.attributes['styleClass']}"
style="#{component.attributes['style']}"
- onclick="#{component.attributes['onselect']}; #{onclick}">
+ onclick="#{component.attributes['onselect']}; #{onclick};
Event.stop(event);"
+ onmouseup="Event.stop(event); #{component.attributes['onmouseup']}"
>
<f:call name="utils.encodeAttributes">
- <f:parameter value="onmousedown,onmouseup,onmousemove" />
+ <f:parameter value="onmousedown,onmousemove" />
</f:call>
<jsp:scriptlet><![CDATA[