mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
Almost all JSON properties to JavaScript camelCase
This commit is contained in:
parent
7a53cae32f
commit
f080a302b1
50 changed files with 501 additions and 562 deletions
|
|
@ -46,11 +46,11 @@ export class FolderCreatePopupView extends AbstractViewPopup {
|
|||
submitForm(form) {
|
||||
if (form.reportValidity()) {
|
||||
const data = new FormData(form);
|
||||
data.set('Subscribe', this.folderSubscribe() ? 1 : 0);
|
||||
data.set('subscribe', this.folderSubscribe() ? 1 : 0);
|
||||
|
||||
let parentFolderName = this.selectedParentValue();
|
||||
if (!parentFolderName && 1 < FolderUserStore.namespace.length) {
|
||||
data.set('Parent', FolderUserStore.namespace.slice(0, FolderUserStore.namespace.length - 1));
|
||||
data.set('parent', FolderUserStore.namespace.slice(0, FolderUserStore.namespace.length - 1));
|
||||
}
|
||||
|
||||
Remote.abort('Folders').post('FolderCreate', FolderUserStore.foldersCreating, data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue