mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Rename 'ajax' to 'json' because we don't use XML
We use json as response
This commit is contained in:
parent
76cf24f426
commit
950579c7f5
18 changed files with 83 additions and 91 deletions
|
|
@ -22,7 +22,7 @@
|
|||
}, this);
|
||||
}
|
||||
|
||||
CustomUserSettings.prototype.customAjaxSaveData = function ()
|
||||
CustomUserSettings.prototype.customJsonSaveData = function ()
|
||||
{
|
||||
var self = this;
|
||||
|
||||
|
|
@ -46,7 +46,7 @@
|
|||
// false
|
||||
}
|
||||
|
||||
}, 'AjaxSaveCustomUserData', {
|
||||
}, 'JsonSaveCustomUserData', {
|
||||
'UserSkype': this.userSkype(),
|
||||
'UserFacebook': this.userFacebook()
|
||||
});
|
||||
|
|
@ -68,11 +68,11 @@
|
|||
self.userFacebook(oData.Result.UserFacebook || '');
|
||||
}
|
||||
|
||||
}, 'AjaxGetCustomUserData');
|
||||
}, 'JsonGetCustomUserData');
|
||||
|
||||
};
|
||||
|
||||
window.rl.addSettingsViewModel(CustomUserSettings, 'PluginCustomSettingsTab',
|
||||
'SETTINGS_CUSTOM_PLUGIN/TAB_NAME', 'custom');
|
||||
|
||||
}());
|
||||
}());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue