Roo/menu/Item.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 5 Aug 2010 03:11:59 +0000 (11:11 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 5 Aug 2010 03:11:59 +0000 (11:11 +0800)
Roo/menu/Item.js

index 3bc8915..4014bde 100644 (file)
@@ -30,7 +30,7 @@ Roo.extend(Roo.menu.Item, Roo.menu.BaseItem, {
      * @cfg {String} text
      * The text to show on the menu item.
      */
-    icon: undefined,
+    text: '',
     /**
      * @cfg {String} icon
      * The path to an icon to display in this menu item (defaults to Roo.BLANK_IMAGE_URL)