From 589385f37fa1de64327cbc037b30ce4efc18a3cc Mon Sep 17 00:00:00 2001 From: thomascube Date: Sat, 25 Feb 2012 17:56:11 +0000 Subject: [PATCH] Fix script error in IE (#1488368) --- program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/js/app.js b/program/js/app.js index 943136ee3..949502ebc 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -4655,7 +4655,7 @@ function rcube_webmail() { var n, buttons = this.buttons['upload-photo']; for (n=0; buttons && n < buttons.length; n++) - $('#'+buttons[n].id).html(this.get_label(id == '-del-' ? 'addphoto' : 'replacephoto')); + $('a#'+buttons[n].id).html(this.get_label(id == '-del-' ? 'addphoto' : 'replacephoto')); $('#ff_photo').val(id); this.enable_command('upload-photo', this.env.coltypes.photo ? true : false);