Author: amarkhel
Date: 2010-12-07 05:32:26 -0500 (Tue, 07 Dec 2010)
New Revision: 20428
Modified:
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/dropdownmenu.ecss
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu.js
Log:
https://jira.jboss.org/browse/RF-9676 Dropdown menu component minor update
Modified:
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/dropdownmenu.ecss
===================================================================
---
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/dropdownmenu.ecss 2010-12-07
09:58:56 UTC (rev 20427)
+++
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/dropdownmenu.ecss 2010-12-07
10:32:26 UTC (rev 20428)
@@ -1,5 +1,5 @@
-.rf-ddm-lbl, .rf-ddm-lbl-dis {
- font-family:Arial, Verdana, sans-serif;
+.rf-ddm-lbl, .rf-ddm-lbl-dis {
+ font-family: '#{richSkin.headerFamilyFont}';
font-size:11px;
position:relative;
}
Modified: trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu.js
===================================================================
---
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu.js 2010-12-07
09:58:56 UTC (rev 20427)
+++
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu.js 2010-12-07
10:32:26 UTC (rev 20428)
@@ -81,8 +81,8 @@
},
processItem: function(item) {
- if (item && item.attr('id') &&
!this.__isDisabled(item) && this.__isGroup(item)) {
- this.invokeEvent("itemclick", rf.getDomElement(this.id),
null);
+ if (item && item.attr('id') &&
!this.__isDisabled(item) && !this.__isGroup(item)) {
+ this.invokeEvent("itemclick", rf.getDomElement(this.id),
null);
this.hidePopup();
}
},