Browse Source

Refactoring

tags/2.0.0-beta
Alexander Kochetov 12 years ago
parent
commit
fad2d4794d
  1. 5
      framework/yii/jui/Sortable.php

5
framework/yii/jui/Sortable.php

@ -54,10 +54,7 @@ class Sortable extends Widget
*/ */
public function run() public function run()
{ {
$options = $this->options; echo Html::endTag(isset($this->options['tag']) ? $this->options['tag'] : 'div') . "\n";
$tag = isset($options['tag']) ? $options['tag'] : 'div';
unset($options['tag']);
echo Html::endTag($tag) . "\n";
$this->registerWidget('sortable', false); $this->registerWidget('sortable', false);
} }
} }

Loading…
Cancel
Save