mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 883770 - [Dialer][SMS][Contacts] Call log does no longer show contact names after version upgrade. Followup. r=reuben.
This commit is contained in:
parent
b4e3f020c1
commit
263220df7e
@ -336,7 +336,9 @@ ContactDB.prototype = {
|
||||
if (!objectStore) {
|
||||
objectStore = aTransaction.objectStore(STORE_NAME);
|
||||
}
|
||||
objectStore.createIndex("telMatch", "search.parsedTel", {multiEntry: true});
|
||||
if (!objectStore.indexNames.contains("telMatch")) {
|
||||
objectStore.createIndex("telMatch", "search.parsedTel", {multiEntry: true});
|
||||
}
|
||||
objectStore.openCursor().onsuccess = function(event) {
|
||||
let cursor = event.target.result;
|
||||
if (cursor) {
|
||||
|
Loading…
Reference in New Issue
Block a user