Show
Ignore:
Timestamp:
03/09/2007 03:45:11 PM (21 months ago)
Author:
xue
Message:

Fixed #558.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/3.0/framework/Web/UI/WebControls/TCheckBox.php

    r1397 r1755  
    255255                        $value=$attributes->remove('value'); 
    256256                        // onclick js should only be added to input tag 
    257                         $onclick=$attributes->remove('onclick'); 
     257                        if(($onclick=$attributes->remove('onclick'))===null) 
     258                                $onclick=''; 
    258259                        if($attributes->getCount()) 
    259260                        {