Skip to content

Commit 977ca80

Browse files
sankam-nikolyaunclead
authored andcommitted
Fix sorting
Replace outdated jquery-sortable.js with a modern alternative (sortable.js) with better flexibility and support for mobile devices
1 parent fe30387 commit 977ca80

File tree

7 files changed

+3380
-710
lines changed

7 files changed

+3380
-710
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
Yii2 multiple input change log
22
==============================
33

4-
2.28.0 (in development)
4+
2.29.0 (in development)
55
=======================
66

7+
2.28.0
8+
=======================
9+
- replace outdated jquery-sortable.js with a modern alternative (sortable.js) (sankam-nikolya)
10+
711
2.27.0
812
======
913
- #367 (fix) ajax validation doesn't work for newly added/cloned inputs

src/assets/MultipleInputSortableAsset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function init()
2525
$this->sourcePath = __DIR__ . '/src/';
2626

2727
$this->js = [
28-
YII_DEBUG ? 'js/jquery-sortable.js' : 'js/jquery-sortable.min.js'
28+
YII_DEBUG ? 'js/sortable.js' : 'js/sortable.min.js'
2929
];
3030

3131
$this->css = [

0 commit comments

Comments
 (0)