From 27eb279b0fd495e4719bc154cfa1417004a8f007 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 18 Aug 2011 13:17:45 +0000 Subject: - Fix photo links in contact edit form --- program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/js/app.js') diff --git a/program/js/app.js b/program/js/app.js index 717b21cfe..d15950d36 100644 --- a/program/js/app.js +++ b/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); -- cgit v1.2.3