summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-12-22 16:35:38 +0000
committerthomascube <thomas@roundcube.net>2011-12-22 16:35:38 +0000
commita84bfa356ab168b0b065efeffb32a603970acd13 (patch)
tree6d9923de0d780f59761bd35441d6d6f81ffa72c1 /program/js
parent0ec438c5d68309b234bcc49c601b8b004da3724b (diff)
Fix upload form handling
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 0cc2a1f53..1652e44e4 100644
--- a/program/js/app.js
+++ b/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':