Changeset 644f00d in github


Ignore:
Timestamp:
May 9, 2012 7:48:10 AM (13 months ago)
Author:
Aleksander Machniak <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo
Children:
66510e2
Parents:
49ab20c
git-author:
Aleksander Machniak <alec@…> (05/09/12 07:45:37)
git-committer:
Aleksander Machniak <alec@…> (05/09/12 07:48:10)
Message:

Fix add_contact() (#1488465)

Location:
program
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • program/js/app.js

    r837de85 r644f00d  
    768768      case 'always-load': 
    769769        if (this.env.uid && this.env.sender) { 
    770           this.add_contact(urlencode(this.env.sender)); 
     770          this.add_contact(this.env.sender); 
    771771          setTimeout(function(){ ref.command('load-images'); }, 300); 
    772772          break; 
  • program/steps/mail/func.inc

    r76248c7 r644f00d  
    13411341        $address = html::span(null, $address . html::a(array( 
    13421342            'href' => "#add", 
    1343             'onclick' => sprintf("return %s.command('add-contact','%s',this)", JS_OBJECT_NAME, urlencode($string)), 
     1343            'onclick' => sprintf("return %s.command('add-contact','%s',this)", JS_OBJECT_NAME, $string), 
    13441344            'title' => rcube_label('addtoaddressbook'), 
    13451345            'class' => 'rcmaddcontact', 
Note: See TracChangeset for help on using the changeset viewer.