Changeset 3892 for branches/2.2/mobile/templates/default/new_msg.tpl
- Timestamp:
- 03/23/11 10:52:57 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/mobile/templates/default/new_msg.tpl
r3829 r3892 3 3 <script type="text/javascript"> 4 4 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";5 function mobile_add_contact(_add_to) { 6 document.getElementById("menuaction").value = "mobile.ui_mobilemail.init_schedule"; 7 document.getElementById('add_to').value = _add_to; 8 8 9 document.getElementById('add_to').value = add_to; 10 11 mail_form.submit(); 9 document.getElementById('mail_form').submit(); 12 10 } 13 11 … … 24 22 </div> 25 23 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"> 27 26 <input type="hidden" id="reply_from" name="reply_from" value='{from}' /> 28 27 <input type="hidden" id="reply_msg_number" name="reply_msg_number" value='{msg_number}' />
Note: See TracChangeset
for help on using the changeset viewer.