mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
replace knockout-sortable with html5 native
This commit is contained in:
parent
e1d3a143f4
commit
4e449b9c66
13 changed files with 94 additions and 605 deletions
|
|
@ -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'));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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'));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue