diff --git a/framework/zii/widgets/jui/CJuiDatePicker.php b/framework/zii/widgets/jui/CJuiDatePicker.php
index <HASH>..<HASH> 100644
--- a/framework/zii/widgets/jui/CJuiDatePicker.php
+++ b/framework/zii/widgets/jui/CJuiDatePicker.php
@@ -99,7 +99,7 @@ class CJuiDatePicker extends CJuiInputWidget
 
 			$this->options['altField']='#'.$id;
 
-			$id = $this->htmlOptions['id']=$id.'_container';
+			$id=$this->htmlOptions['id']=$id.'_container';
 			$this->htmlOptions['name']=$name.'_container';
 
 			echo CHtml::tag('div',$this->htmlOptions,'');
removed gaps CJuiDatePicker