Browse Source

fix merging issues

tags/2.0.0-beta
Antonio Ramirez 11 years ago
parent
commit
0efe892f15
  1. 3
      extensions/yii/jui/InputWidget.php

3
extensions/yii/jui/InputWidget.php

@ -50,9 +50,6 @@ class InputWidget extends Widget
if ($this->hasModel() && !isset($this->options['id'])) {
$this->options['id'] = Html::getInputId($this->model, $this->attribute);
}
if($this->hasModel() && !array_key_exists('id', $this->options)) {
$this->options['id'] = Html::getInputId($this->model, $this->attribute);
}
parent::init();
}

Loading…
Cancel
Save