Ignore:
Timestamp:
04/15/11 15:22:49 (13 years ago)
Author:
thiagoaos
Message:

Ticket #1761 - Corrigido url do link voltar no mobile para quando envia ou apaga email.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/mobile/templates/default/new_msg.tpl

    r3935 r4046  
    1414        var anexo_element = document.createElement("div"); 
    1515        anexo_box.innerHTML += "<input name=\"FILES[]\" type=\"file\">"; 
     16} 
     17 
     18function save_msg_as_draft() { 
     19        document.getElementById('menuaction').value = "mobile.ui_mobilemail.save_draft"; 
     20        document.getElementById('mail_form').submit(); 
    1621} 
    1722 
     
    6469                <div class="margin-rodape"> 
    6570                        <button onclick="location.href='{href_back}'" id="cancel" class="btn-generico" >{lang_cancel}</button> 
    66                         <button id="save_draft" class="btn-generico" onclick="document.getElementById('mail_form').action='index.php?menuaction=mobile.ui_mobilemail.save_draft';document.getElementById('mail_form').submit()" >{lang_save_draft}</button> 
     71                        <button id="save_draft" class="btn-generico" onclick="save_msg_as_draft()" >{lang_save_draft}</button> 
    6772                        <button name="action" id="reply_send" class="btn-generico" onclick="document.getElementById('mail_form').submit()">{lang_send}</button> 
    6873                </div>   
Note: See TracChangeset for help on using the changeset viewer.