From 8ae0145d144a2ee40a0b63ad4d081bd01f7aff92 Mon Sep 17 00:00:00 2001 From: zmedanic Date: Tue, 12 Aug 2014 10:33:00 +0200 Subject: [PATCH] Update Sortable.php --- sortable/Sortable.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sortable/Sortable.php b/sortable/Sortable.php index 11f77ab..ee70d30 100644 --- a/sortable/Sortable.php +++ b/sortable/Sortable.php @@ -146,7 +146,7 @@ public function registerAssets() $view = $this->getView(); SortableAsset::register($view); $this->registerPlugin('sortable'); - $id = '$("#' . $this->options['id'] . '")'; + $id = 'jQuery("#' . $this->options['id'] . '")'; if ($this->disabled) { $js = "{$id}.sortable('disable');"; } else { @@ -154,4 +154,4 @@ public function registerAssets() } $view->registerJs($js); } -} \ No newline at end of file +}