mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
More fixes for scrutinizer-ci
This commit is contained in:
parent
c7e97b78d6
commit
59b32241bf
16 changed files with 116 additions and 191 deletions
|
|
@ -135,7 +135,6 @@ AbstractAjaxRemote.prototype.ajaxRequest = function(fResultCallback, oParameters
|
|||
bPost = '' === sGetAdd,
|
||||
oHeaders = {},
|
||||
iStart = (new window.Date()).getTime(),
|
||||
oDefAjax = null,
|
||||
sAction = '';
|
||||
|
||||
oParameters = oParameters || {};
|
||||
|
|
@ -165,7 +164,7 @@ AbstractAjaxRemote.prototype.ajaxRequest = function(fResultCallback, oParameters
|
|||
oParameters.XToken = Settings.appSettingsGet('token');
|
||||
}
|
||||
|
||||
oDefAjax = $.ajax({
|
||||
var oDefAjax = $.ajax({
|
||||
type: bPost ? 'POST' : 'GET',
|
||||
url: Links.ajax(sGetAdd),
|
||||
async: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue