Skip to content

Commit

Permalink
delete old
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Nov 17, 2021
1 parent 7bbc61e commit da03f24
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/views/filters/filters.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
'options' => [
'id' => 'sx-filters-form',
'class' => 'sx-filters-form',
/*'data' => [
'pjax' => 0,
],*/
'data' => [
'pjax' => new \yii\helpers\UnsetArrayValue(),
],
],
]);

Expand Down
1 change: 1 addition & 0 deletions src/widgets/jui/assets/JuiCoreFixAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ class JuiCoreFixAsset extends AssetBundle
'core.js', //TODO:переписал
];
public $css = [

];
}
26 changes: 26 additions & 0 deletions src/widgets/jui/assets/JuiSmoothnessAsset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
/**
* @link https://cms.skeeks.com/
* @copyright Copyright (c) 2010 SkeekS
* @license https://cms.skeeks.com/license/
* @author Semenov Alexander <[email protected]>
*/

namespace skeeks\cms\themes\unify\widgets\jui\assets;

use yii\web\AssetBundle;
/**
*
* Этот класс используется для того чтобы не пересекаться с bootstrap tooltip
*
* @see https://api.jqueryui.com/sortable/
* @author Semenov Alexander <[email protected]>
*/
class JuiSmoothnessAsset extends AssetBundle
{
public $sourcePath = '@bower/jquery-ui';

public $css = [
'themes/smoothness/jquery-ui.min.css',
];
}
5 changes: 2 additions & 3 deletions src/widgets/jui/assets/JuiSortableAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit da03f24

Please sign in to comment.