Roo/menu/Item.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 16 Aug 2010 08:47:05 +0000 (16:47 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 16 Aug 2010 08:47:05 +0000 (16:47 +0800)
Roo/menu/Item.js

index 0fe29a5..8915b73 100644 (file)
@@ -82,8 +82,9 @@ Roo.extend(Roo.menu.Item, Roo.menu.BaseItem, {
     /**
      * Sets the text to display in this menu item
      * @param {String} text The text to display
+     * @param {Boolean} isHTML true to indicate text is pure html.
      */
-    setText : function(text){
+    setText : function(text, isHTML){
         this.text = text;
         if(this.rendered){
             this.el.update(String.format(