canmove, Confirmed users
2,887
edits
(add interface ContactEmail per Gaia Contacts UI v1 requirement, make its (and others') 'type' into an array to handle primary/favorite/PREF type as well as home, work. consistent with vCard/hCard) |
|||
| Line 49: | Line 49: | ||
interface ContactTelephone : nsISupports | interface ContactTelephone : nsISupports | ||
{ | { | ||
attribute DOMString type; // | attribute DOMString[] type; // for primary/favorite (use:"PREF"), "home", "work", etc. | ||
attribute DOMString | attribute DOMString value; | ||
}; | |||
interface ContactEmail : nsISupports | |||
{ | |||
attribute DOMString[] type; // for primary/favorite (use:"PREF"), "home", "work", etc. | |||
attribute DOMString value; | |||
}; | }; | ||
interface ContactAddress { | interface ContactAddress { | ||
attribute DOMString | attribute DOMString[] type; // for primary/favorite (use:"PREF"), "home", "work", etc. | ||
attribute DOMString streetAddress; | attribute DOMString streetAddress; | ||
attribute DOMString locality; | attribute DOMString locality; | ||
| Line 70: | Line 76: | ||
attribute DOMString[] honorificSuffix; | attribute DOMString[] honorificSuffix; | ||
attribute DOMString[] nickname; | attribute DOMString[] nickname; | ||
attribute | attribute ContactEmail[] email; | ||
attribute DOMString[] photo; | attribute DOMString[] photo; | ||
attribute DOMString[] url; | attribute DOMString[] url; | ||
| Line 149: | Line 155: | ||
* add interface ContactTelephone | * add interface ContactTelephone | ||
** done | ** done | ||
* add interface Email with type for Email (similar to ContactTelephone) | |||
* add interface Email | ** done | ||
=== Priority 2 feature requests === | === Priority 2 feature requests === | ||