Changeset 2461

Show
Ignore:
Timestamp:
05/14/2008 03:07:12 AM
Author:
tof
Message:

Fixed #843

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/HISTORY

    r2460 r2461  
    22============================ 
    33BUG: Ticket#836 - TRatingList downgrade (Christophe) 
     4BUG: Ticket#843 - TDataList alternatinItem issue after changes in rev 2227 (Christophe) 
    45BUG: Ticket#849 - TDatePicker selecting current date problem (Christophe) 
    56 
  • trunk/framework/Web/UI/WebControls/TDataList.php

    r2227 r2461  
    11761176        private function getAlternatingItemDisplay() 
    11771177        { 
    1178                 if(($classPath=$this->getAlternatingItemRenderer())==='' && ($template=$this->_alternatingItemTemplate)===null) 
     1178                if(($classPath=$this->getAlternatingItemRenderer())==='' && $this->_alternatingItemTemplate===null) 
    11791179                        return array($this->getItemRenderer(),$this->_itemTemplate); 
    11801180                else 
    1181                         return array($classPath,$template); 
     1181                        return array($classPath,$this->_alternatingItemTemplate); 
    11821182        } 
    11831183 
    11841184        private function getSelectedItemDisplay($itemIndex) 
    11851185        { 
    1186                 if(($classPath=$this->getSelectedItemRenderer())==='' && ($template=$this->_selectedItemTemplate)===null) 
     1186                if(($classPath=$this->getSelectedItemRenderer())==='' && $this->_selectedItemTemplate===null) 
    11871187                { 
    11881188                        if($itemIndex%2===0) 
     
    11921192                } 
    11931193                else 
    1194                         return array($classPath,$template); 
     1194                        return array($classPath,$this->_selectedItemTemplate); 
    11951195        } 
    11961196 
    11971197        private function getEditItemDisplay($itemIndex) 
    11981198        { 
    1199                 if(($classPath=$this->getEditItemRenderer())==='' && ($template=$this->_editItemTemplate)===null) 
     1199                if(($classPath=$this->getEditItemRenderer())==='' && $this->_editItemTemplate===null) 
    12001200                        return $this->getSelectedItemDisplay($itemIndex); 
    12011201                else 
    1202                         return array($classPath,$template); 
     1202                        return array($classPath,$this->_editItemTemplate); 
    12031203        } 
    12041204