Skip to content

Commit

Permalink
Merge pull request #379 from unclead/fix-sorting
Browse files Browse the repository at this point in the history
Fix sorting
  • Loading branch information
unclead authored Mar 24, 2024
2 parents fe30387 + 977ca80 commit c94c992
Show file tree
Hide file tree
Showing 7 changed files with 3,380 additions and 710 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
Yii2 multiple input change log
==============================

2.28.0 (in development)
2.29.0 (in development)
=======================

2.28.0
=======================
- replace outdated jquery-sortable.js with a modern alternative (sortable.js) (sankam-nikolya)

2.27.0
======
- #367 (fix) ajax validation doesn't work for newly added/cloned inputs
Expand Down
2 changes: 1 addition & 1 deletion src/assets/MultipleInputSortableAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function init()
$this->sourcePath = __DIR__ . '/src/';

$this->js = [
YII_DEBUG ? 'js/jquery-sortable.js' : 'js/jquery-sortable.min.js'
YII_DEBUG ? 'js/sortable.js' : 'js/sortable.min.js'
];

$this->css = [
Expand Down
Loading

0 comments on commit c94c992

Please sign in to comment.