Closed
Bug 736200
Opened 13 years ago
Closed 13 years ago
Contacts API: Using cleaner IDs for the mozContact objects
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: etienne, Assigned: gwagner)
Details
Attachments
(1 file)
1.08 KB,
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
The ID generated for each mozContact currently looks like
{25c00f01-90e5-c545-b4d4-21E2ddbab9e0}
For various reason devs might want to these IDs to construct dom #id like
prefix_[contactID]
So if it doesn't have any bad side effect it would be great to stripe the "{", "}" and "-" from the mozContact IDs.
This way preventing the need for each mozContacts API user to
stripe them himself. And facilitating the search by ID.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → anygregor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 1•13 years ago
|
||
Assignee | ||
Comment 2•13 years ago
|
||
Comment on attachment 606333 [details] [diff] [review]
patch
We could also change it in _getRandomId() if this is a general problem
Attachment #606333 -
Flags: review?(fabrice)
Updated•13 years ago
|
Attachment #606333 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Comment 4•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•