From ca86a3e27e64700d7d8e33441326e60e9d017cd3 Mon Sep 17 00:00:00 2001 From: Alexander Kochetov Date: Sat, 25 May 2013 20:44:40 +0400 Subject: [PATCH] flat => inline --- framework/yii/jui/DatePicker.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/yii/jui/DatePicker.php b/framework/yii/jui/DatePicker.php index 6e48418..17c36f8 100644 --- a/framework/yii/jui/DatePicker.php +++ b/framework/yii/jui/DatePicker.php @@ -51,7 +51,7 @@ class DatePicker extends InputWidget /** * @var boolean If true, shows the widget as an inline calendar and the input as a hidden field. */ - public $flat = false; + public $inline = false; /** @@ -74,7 +74,7 @@ class DatePicker extends InputWidget { $contents = array(); - if ($this->flat === false) { + if ($this->inline === false) { if ($this->hasModel()) { $contents[] = Html::activeTextInput($this->model, $this->attribute, $this->options); } else {