Profile picture bug fixed
This commit is contained in:
parent
6c90d825ce
commit
ef58ba8daa
|
@ -357,7 +357,7 @@ $(document).ready(function() {
|
||||||
type: "json",
|
type: "json",
|
||||||
action: HTML_PATH_ADMIN_ROOT+"ajax/uploader",
|
action: HTML_PATH_ADMIN_ROOT+"ajax/uploader",
|
||||||
allow : "*.(jpg|jpeg|gif|png)",
|
allow : "*.(jpg|jpeg|gif|png)",
|
||||||
params: {"type":"profilePicture", "username":"'.$username.'"},
|
params: {"tokenCSRF":tokenCSRF, "type":"profilePicture", "username":"'.$username.'"},
|
||||||
|
|
||||||
loadstart: function() {
|
loadstart: function() {
|
||||||
$("#bludit-profile-picture-progressbar").find(".uk-progress-bar").css("width", "0%").text("0%");
|
$("#bludit-profile-picture-progressbar").find(".uk-progress-bar").css("width", "0%").text("0%");
|
||||||
|
|
Loading…
Reference in New Issue