diff --git a/src/views/filters/filters.php b/src/views/filters/filters.php index f4e80aa..b47cbb5 100644 --- a/src/views/filters/filters.php +++ b/src/views/filters/filters.php @@ -41,9 +41,9 @@ 'options' => [ 'id' => 'sx-filters-form', 'class' => 'sx-filters-form', - /*'data' => [ - 'pjax' => 0, - ],*/ + 'data' => [ + 'pjax' => new \yii\helpers\UnsetArrayValue(), + ], ], ]); diff --git a/src/widgets/jui/assets/JuiCoreFixAsset.php b/src/widgets/jui/assets/JuiCoreFixAsset.php index 46b2243..feaee12 100644 --- a/src/widgets/jui/assets/JuiCoreFixAsset.php +++ b/src/widgets/jui/assets/JuiCoreFixAsset.php @@ -23,5 +23,6 @@ class JuiCoreFixAsset extends AssetBundle 'core.js', //TODO:переписал ]; public $css = [ + ]; } \ No newline at end of file diff --git a/src/widgets/jui/assets/JuiSmoothnessAsset.php b/src/widgets/jui/assets/JuiSmoothnessAsset.php new file mode 100644 index 0000000..85c0df1 --- /dev/null +++ b/src/widgets/jui/assets/JuiSmoothnessAsset.php @@ -0,0 +1,26 @@ + + */ + +namespace skeeks\cms\themes\unify\widgets\jui\assets; + +use yii\web\AssetBundle; +/** + * + * Этот класс используется для того чтобы не пересекаться с bootstrap tooltip + * + * @see https://api.jqueryui.com/sortable/ + * @author Semenov Alexander + */ +class JuiSmoothnessAsset extends AssetBundle +{ + public $sourcePath = '@bower/jquery-ui'; + + public $css = [ + 'themes/smoothness/jquery-ui.min.css', + ]; +} \ No newline at end of file diff --git a/src/widgets/jui/assets/JuiSortableAsset.php b/src/widgets/jui/assets/JuiSortableAsset.php index 25a01a9..e193a30 100644 --- a/src/widgets/jui/assets/JuiSortableAsset.php +++ b/src/widgets/jui/assets/JuiSortableAsset.php @@ -52,12 +52,11 @@ public function init() 'ui/widgets/mouse.js', 'ui/widgets/sortable.js', ]; - public $css = [ - 'themes/smoothness/jquery-ui.min.css', - ]; + public $depends = [ JuiCoreFixAsset::class, 'yii\web\JqueryAsset', + JuiSmoothnessAsset::class ]; public function registerAssetFiles($view)