mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 13:58:40 +01:00
fixed message can be send without recipient and gets lost
This commit is contained in:
parent
38970fb3ac
commit
0c608d5e07
@ -237,6 +237,7 @@
|
||||
$this->t->set_var('addressbookImage',$GLOBALS['egw']->common->image('phpgwapi/templates/phpgw_website','users'));
|
||||
$this->t->set_var('infologImage',$GLOBALS['egw']->html->image('felamimail','to_infolog',lang('Save as infolog'),'width="17px" height="17px" valign="middle"' ));
|
||||
$this->t->set_var('lang_save_as_infolog',lang('Save as infolog'));
|
||||
$this->t->set_var('lang_no_recipient',lang('No recipient address given!'));
|
||||
$this->t->pparse("out","header");
|
||||
|
||||
|
||||
|
@ -266,6 +266,7 @@ no messages found... felamimail de keine Nachrichten gefunden...
|
||||
no messages were selected. felamimail de Es wurde keine NAchricht ausgewählt
|
||||
no plain text part found felamimail de Kein Text Teil gefunden.
|
||||
no previous message felamimail de Keine vorherige Nachricht vorhanden
|
||||
no recipient address given! felamimail en Keine Empfängeradresse angegeben!
|
||||
no supported imap authentication method could be found. felamimail de Keine unterstützte IMAP Authentifizierungsmethode gefunden.
|
||||
no valid emailprofile selected!! felamimail de Sie haben kein gültiges E-Mail-Profil ausgewählt!
|
||||
none felamimail de kein
|
||||
|
@ -266,6 +266,7 @@ no messages found... felamimail en no messages found...
|
||||
no messages were selected. felamimail en No messages were selected.
|
||||
no plain text part found felamimail en no plain text part found
|
||||
no previous message felamimail en no previous Message
|
||||
no recipient address given! felamimail en No recipient address given!
|
||||
no supported imap authentication method could be found. felamimail en No supported IMAP authentication method could be found.
|
||||
no valid emailprofile selected!! felamimail en No Valid Email Profile Selected!!
|
||||
none felamimail en none
|
||||
|
@ -18,10 +18,23 @@
|
||||
function attach_window(url) {
|
||||
awin = window.open(url,"attach","width=500,height=400,toolbar=no,resizable=yes");
|
||||
}
|
||||
|
||||
function check_sender()
|
||||
{
|
||||
var tos = document.getElementsByName('address[]');
|
||||
for(i=0; i < tos.length; ++i) {
|
||||
if (tos[i].value != '') break;
|
||||
}
|
||||
if (i >= tos.length) {
|
||||
alert('{lang_no_recipient}');
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
<center>
|
||||
<form method="post" name="doit" action="{link_action}" ENCTYPE="multipart/form-data">
|
||||
<form method="post" name="doit" action="{link_action}" ENCTYPE="multipart/form-data" onsubmit="return check_sender();">
|
||||
<input type="hidden" id="saveAsDraft" name="saveAsDraft" value="0">
|
||||
<TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="0" style="border: solid #aaaaaa 1px; border-right: solid black 1px; border-bottom: solid black 1px;">
|
||||
<tr class="navbarBackground">
|
||||
|
Loading…
Reference in New Issue
Block a user