Commit bcc1f34a authored by Clément Damiens's avatar Clément Damiens
Browse files

Fix upload img profil in element ajax params
parent a49be864
......@@ -74,7 +74,7 @@
contentType: false,
cache: false,
processData: false
}
};
ajaxPost(
null,
baseUrl+"/"+moduleId+"/document/uploadSave/dir/communecter/folder/"+type+"/ownerId/"+id+"/input/avatar/contentKey/profil/docType/image",
......@@ -103,7 +103,9 @@
updateBtnUpload(false);
toastr.error(data.msg);
}
}
},
null, null,
extraParamsAjax
);
});
$("#"+contentId+"_photoAddBtn").off().on("click", function(event){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment