Changeset 3892


Ignore:
Timestamp:
03/23/11 10:52:57 (13 years ago)
Author:
thiagoaos
Message:

Ticket #1678 - Corrigido envio de email no mobile. Agora está salvando na pasta de enviados.

Location:
branches/2.2/mobile
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/mobile/login.php

    r3731 r3892  
    108108                        } 
    109109                         
     110                        $preferences = $GLOBALS['phpgw']->preferences->read(); 
     111                        $_SESSION['phpgw_info']['user']['preferences']['expressoMail'] = $preferences['expressoMail']; 
     112                         
    110113                        start_prefered_app(); 
    111114                } 
  • branches/2.2/mobile/templates/default/new_msg.tpl

    r3829 r3892  
    33<script type="text/javascript"> 
    44 
    5 function mobile_add_contact(add_to) { 
    6         var mail_form = document.getElementById('mail_form'); 
    7         mail_form.action = "index.php?menuaction=mobile.ui_mobilemail.init_schedule"; 
     5function mobile_add_contact(_add_to) { 
     6        document.getElementById("menuaction").value = "mobile.ui_mobilemail.init_schedule"; 
     7        document.getElementById('add_to').value = _add_to; 
    88         
    9         document.getElementById('add_to').value = add_to;  
    10          
    11         mail_form.submit(); 
     9        document.getElementById('mail_form').submit(); 
    1210} 
    1311 
     
    2422</div> 
    2523 
    26 <form method="POST" action="index.php?menuaction=mobile.ui_mobilemail.send_mail" enctype="multipart/form-data" id="mail_form"> 
     24<form method="POST" action="index.php" enctype="multipart/form-data" id="mail_form"> 
     25        <input type="hidden" id="menuaction" name="menuaction" value="mobile.ui_mobilemail.send_mail"> 
    2726        <input type="hidden" id="reply_from" name="reply_from" value='{from}' /> 
    2827        <input type="hidden" id="reply_msg_number" name="reply_msg_number" value='{msg_number}' /> 
Note: See TracChangeset for help on using the changeset viewer.