We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f63af4 commit 85b13b1Copy full SHA for 85b13b1
assets/js/admin/components/CategoryTreeSorting.js
@@ -13,6 +13,16 @@ export default class CategoryTreeSorting {
13
this.$rootTree = $rootTree;
14
this.$saveButton = $saveButton;
15
16
+ $.mjs.nestedSortable.prototype._setHandleClassName = function () {
17
+ this._removeClass(this.element.find('.ui-sortable-handle'), 'ui-sortable-handle');
18
+ $.each(this.items, function () {
19
+ (this.instance.options.handle
20
+ ? this.item.find(this.instance.options.handle)
21
+ : this.item
22
+ ).addClass('ui-sortable-handle');
23
+ });
24
+ };
25
+
26
const _this = this;
27
this.$rootTree.nestedSortable({
28
listType: 'ul',
0 commit comments