summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-08-18 13:17:45 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-08-18 13:17:45 +0000
commit9386ff70d94cb4ed78da62b769ce52c48abf482e (patch)
tree79eb8bc5757a39d9816b57de0df53919d1c784ee
parentc976ca1b92d878b07a7926aed4fefc98bb2f7462 (diff)
- Fix photo links in contact edit form
git-svn-id: https://svn.roundcube.net/trunk@5088 208e9e7b-5314-0410-a742-e7e81cd9613c
-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 717b21cfe..d15950d36 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -4432,7 +4432,7 @@ function rcube_webmail()
this.set_photo_actions = function(id)
{
var n, buttons = this.buttons['upload-photo'];
- for (n=0; n < buttons && buttons.length; n++)
+ for (n=0; buttons && n < buttons.length; n++)
$('#'+buttons[n].id).html(this.get_label(id == '-del-' ? 'addphoto' : 'replacephoto'));
$('#ff_photo').val(id);