Create Profile\Photos\Upload class
This commit is contained in:
parent
f826ce70ce
commit
39765e6018
6 changed files with 296 additions and 15 deletions
|
@ -103,7 +103,7 @@ var FileBrowser = {
|
|||
if ($("#upload-image").length)
|
||||
var image_uploader = new window.AjaxUpload(
|
||||
'upload-image',
|
||||
{ action: 'wall_upload/'+FileBrowser.nickname+'?response=json',
|
||||
{ action: 'profile/' + FileBrowser.nickname + '/photos/upload?response=json',
|
||||
name: 'userfile',
|
||||
responseType: 'json',
|
||||
onSubmit: function(file,ext) { $('#profile-rotator').show(); $(".error").addClass('hidden'); },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue