Skip to content

Commit e4601aa

Browse files
committed
Merge pull request #17 from cubicdesign/master
Fixed custom SortableGridView id bug
2 parents b19341e + fe895ab commit e4601aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SortableGridView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function run()
3636
protected function registerWidget()
3737
{
3838
$view = $this->getView();
39-
$view->registerJs("jQuery('#{$this->id}').SortableGridView('{$this->sortableAction}');");
39+
$view->registerJs("jQuery('#{$this->options['id']}').SortableGridView('{$this->sortableAction}');");
4040
SortableGridAsset::register($view);
4141
}
4242
}

0 commit comments

Comments
 (0)