From a84bfa356ab168b0b065efeffb32a603970acd13 Mon Sep 17 00:00:00 2001 From: thomascube Date: Thu, 22 Dec 2011 16:35:38 +0000 Subject: Fix upload form handling --- program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/js') 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': -- cgit v1.2.3