Show
Ignore:
Timestamp:
03/14/2008 01:06:07 PM (10 months ago)
Author:
tof
Message:

Fixed #669

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/framework/Web/UI/ActiveControls/TActivePanel.php

    r1414 r2412  
    7676                { 
    7777                        $this->getPage()->getAdapter()->registerControlToRender($this,$writer); 
     78                        if ($this->getHasControls()) 
     79                        { 
     80                                // If we update a TActivePanel on callback, 
     81                                // We shouldn't update all childs, because the whole content will be replaced by  
     82                                // the parent 
     83                                foreach ($this->findControlsByType('IActiveControl', false) as $control) 
     84                                { 
     85                                                $control->getActiveControl()->setEnableUpdate(false); 
     86                                } 
     87                        } 
    7888                } 
    7989        }