forked from extern/egroupware
Backport: Mail empty junk folder action, implemented by Klaus Leithoff
This commit is contained in:
parent
0f834be527
commit
ddcb79c5c9
@ -1235,6 +1235,25 @@ app.classes.mail = AppJS.extend(
|
||||
return true;
|
||||
},
|
||||
|
||||
/**
|
||||
* Check if SpamFolder is enabled on that account
|
||||
*
|
||||
* SpamFolder enabled is stored as data { spamfolder: true/false } on account node.
|
||||
*
|
||||
* @param {object} _action
|
||||
* @param {object} _senders the representation of the tree leaf to be manipulated
|
||||
* @param {object} _currentNode
|
||||
*/
|
||||
spamfolder_enabled: function(_action,_senders,_currentNode)
|
||||
{
|
||||
var ftree = this.et2.getWidgetById(this.nm_index+'[foldertree]');
|
||||
var acc_id = _senders[0].id.split('::')[0];
|
||||
var node = ftree ? ftree.getNode(acc_id) : null;
|
||||
|
||||
return node && node.data && node.data.spamfolder;
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* Check if Sieve is enabled on that account
|
||||
*
|
||||
|
@ -142,6 +142,7 @@ email notification update failed mail de Die Benachrichtigung über den Gelesen-
|
||||
email notification update failed! you need to set an email address! mail de Aktualisierung der E-Mail Benachrichtigungen fehlgeschlagen! Es muss eine E-Mail-Adresse ausgewählt sein!
|
||||
emailaddress admin de E-Mail
|
||||
emailadmin: profilemanagement mail de E-Mail-Admin: Profilmanagement
|
||||
empty junk mail de Junk-/Spam- Ordner leeren
|
||||
empty trash mail de Papierkorb leeren
|
||||
enable mail de Aktivieren
|
||||
enabled! mail de aktiviert!
|
||||
|
Loading…
Reference in New Issue
Block a user