mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Areatrigger/Names
* fix unnamed areatrigger after fetching them from DB and not clientside Mail/Names * fix unnamed mails after fetching them from DB and not clientside
This commit is contained in:
@@ -27,10 +27,6 @@ Listview.templates.areatrigger = {
|
||||
var a = $WH.ce('a');
|
||||
a.style.fontFamily = 'Verdana, sans-serif';
|
||||
a.href = this.getItemLink(areatrigger);
|
||||
if (!areatrigger.name){
|
||||
areatrigger.name = 'Unnamed Areatrigger'
|
||||
a.className = 'q0';
|
||||
}
|
||||
|
||||
$WH.ae(a, $WH.ct(areatrigger.name));
|
||||
$WH.ae(wrapper, a);
|
||||
|
||||
@@ -27,10 +27,6 @@ Listview.templates.mail = {
|
||||
var a = $WH.ce('a');
|
||||
a.style.fontFamily = 'Verdana, sans-serif';
|
||||
a.href = this.getItemLink(mail);
|
||||
if (!mail.subject){
|
||||
mail.subject = 'Untitled Mail'
|
||||
a.className = 'q0';
|
||||
}
|
||||
|
||||
$WH.ae(a, $WH.ct(mail.subject));
|
||||
$WH.ae(wrapper, a);
|
||||
|
||||
Reference in New Issue
Block a user