|
@@ -279,10 +279,10 @@ BlazeComponent.extendComponent({
|
|
// Disable sorting if the current user is not a board member
|
|
// Disable sorting if the current user is not a board member
|
|
this.autorun(() => {
|
|
this.autorun(() => {
|
|
const disabled = !userIsMember() || Utils.isMiniScreen();
|
|
const disabled = !userIsMember() || Utils.isMiniScreen();
|
|
- if ($checklistsDom.data('uiSortable')) {
|
|
|
|
|
|
+ if ($checklistsDom.data('uiSortable') || $checklistsDom.data('sortable')) {
|
|
$checklistsDom.sortable('option', 'disabled', disabled);
|
|
$checklistsDom.sortable('option', 'disabled', disabled);
|
|
}
|
|
}
|
|
- if ($subtasksDom.data('uiSortable')) {
|
|
|
|
|
|
+ if ($subtasksDom.data('uiSortable') || $subtasksDom.data('sortable')) {
|
|
$subtasksDom.sortable('option', 'disabled', disabled);
|
|
$subtasksDom.sortable('option', 'disabled', disabled);
|
|
}
|
|
}
|
|
});
|
|
});
|