summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/app.js
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-12-22 16:35:38 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-12-22 16:35:38 +0000
commit6a33f0be679d785f5dde7f7fe942a9088efb0fa6 (patch)
tree9bb6998198243ab1b5824520379417865235561d /roundcubemail/program/js/app.js
parent38394350ffaf894e399b860531bc9d3cee303e0d (diff)
Fix upload form handling
git-svn-id: https://svn.roundcube.net/trunk@5643 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/app.js')
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 0cc2a1f53..1652e44e4 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -1043,7 +1043,7 @@ function rcube_webmail()
break;
case 'upload-photo':
- this.upload_contact_photo(props);
+ this.upload_contact_photo(props || this.gui_objects.uploadform);
break;
case 'delete-photo':