Changeset 11058

Show
Ignore:
Timestamp:
10/22/07 18:33:41 (15 months ago)
Author:
ktiedt
Message:

fixes #4817 again... :)
this.getIcon/LabelClass() doesnt exist...
its this.tree.getIcon/LabelClass()

-Karl

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/Tree.js

    r11034 r11058  
    6464        _updateItemClasses: function(item) { 
    6565                // summary: set appropriate CSS classes for item (used to allow for item updates to change respective CSS) 
    66                 this.iconNode.style.className = "dijitInline dijitTreeIcon " + this.getIconClass(item); 
    67                 this.labelNode.style.className = "dijitTreeLabel " + this.getLabelClass(item); 
     66                this.iconNode.style.className = "dijitInline dijitTreeIcon " + this.tree.getIconClass(item); 
     67                this.labelNode.style.className = "dijitTreeLabel " + this.tree.getLabelClass(item); 
    6868        }, 
    6969         
     
    859859        _onSetItem: function(/*Object*/ item){ 
    860860                //summary: set data event  on an item in the store 
    861                 var identity = this.store.getIdentity(item),act 
     861                var identity = this.store.getIdentity(item); 
    862862                node = this._itemNodeMap[identity]; 
    863863