replace knockout-sortable with html5 native

This commit is contained in:
djmaze 2020-09-20 23:15:06 +02:00
parent e1d3a143f4
commit 4e449b9c66
13 changed files with 94 additions and 605 deletions

View file

@ -20,14 +20,6 @@ class AccountsUserSettings {
this.identityForDeletion = ko.observable(null).deleteAccessHelper();
}
scrollableOptions(wrapper) {
return {
handle: '.drag-handle',
containment: wrapper || 'parent',
axis: 'y'
};
}
addNewAccount() {
showScreenPopup(require('View/Popup/Account'));
}

View file

@ -89,14 +89,6 @@ class FiltersUserSettings {
return true;
}
scrollableOptions(wrapper) {
return {
handle: '.drag-handle',
containment: wrapper || 'parent',
axis: 'y'
};
}
updateList() {
if (!this.filters.loading()) {
this.filters.loading(true);

View file

@ -19,14 +19,6 @@ class TemplatesUserSettings {
this.templateForDeletion = ko.observable(null).deleteAccessHelper();
}
scrollableOptions(sWrapper) {
return {
handle: '.drag-handle',
containment: sWrapper || 'parent',
axis: 'y'
};
}
addNewTemplate() {
showScreenPopup(require('View/Popup/Template'));
}