|
|
@ -84,7 +84,7 @@ define(['forum/accountheader', 'uploader'], function(header, uploader) {
|
|
|
|
$('#uploadPictureBtn').on('click', function() {
|
|
|
|
$('#uploadPictureBtn').on('click', function() {
|
|
|
|
|
|
|
|
|
|
|
|
$('#change-picture-modal').modal('hide');
|
|
|
|
$('#change-picture-modal').modal('hide');
|
|
|
|
uploader.open(config.relative_path + '/user/uploadpicture', function(imageUrlOnServer) {
|
|
|
|
uploader.open(RELATIVE_PATH + '/user/uploadpicture', function(imageUrlOnServer) {
|
|
|
|
imageUrlOnServer = imageUrlOnServer + '?' + new Date().getTime();
|
|
|
|
imageUrlOnServer = imageUrlOnServer + '?' + new Date().getTime();
|
|
|
|
|
|
|
|
|
|
|
|
$('#user-current-picture').attr('src', imageUrlOnServer);
|
|
|
|
$('#user-current-picture').attr('src', imageUrlOnServer);
|
|
|
|