Changeset b4ca5e
- Timestamp:
- Sep 10, 2018, 1:45:49 PM (2 years ago)
- Branches:
- ng_0.9
- Children:
- 64a5f3
- Parents:
- 8ec72e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
content/vI_storage.js
r8ec72e rb4ca5e 193 193 // firstUsedInputElement was set before and we are not editing the same 194 194 var isNotFirstInputElement = (storage.firstUsedInputElement && storage.firstUsedInputElement != inputElement) 195 var currentIdentity = currentDocument.getElementById(" virtualIdentityExtension_msgIdentityClone").identityData195 var currentIdentity = currentDocument.getElementById("msgIdentity").identityData 196 196 var storageResult = storage._rdfDatasourceAccess.updateVIdentityFromStorage(inputElement.value, recipientType, 197 currentIdentity, currentDocument.getElementById(" virtualIdentityExtension_msgIdentityClone").vid, isNotFirstInputElement);197 currentIdentity, currentDocument.getElementById("msgIdentity").vid, isNotFirstInputElement); 198 198 199 199 if (storageResult.identityCollection.number == 0) return; // return if there was no match … … 206 206 for (var j = 0; j < storageResult.identityCollection.number; j++) { 207 207 Log.debug("__updateVIdentityFromStorage adding: " + storageResult.identityCollection.identityDataCollection[j].combinedName); 208 let menuItem = currentDocument.getElementById(" virtualIdentityExtension_msgIdentityClone")208 let menuItem = currentDocument.getElementById("msgIdentity") 209 209 .addIdentityToCloneMenu(storageResult.identityCollection.identityDataCollection[j]) 210 210 if (!newMenuItem) newMenuItem = menuItem; … … 213 213 if (storageResult.result == "accept") { 214 214 Log.debug("__updateVIdentityFromStorage selecting: " + storageResult.identityCollection.identityDataCollection[0].combinedName); 215 currentDocument.getElementById(" virtualIdentityExtension_msgIdentityClone").selectedMenuItem = newMenuItem;216 if (currentDocument.getElementById(" virtualIdentityExtension_msgIdentityClone").vid)215 currentDocument.getElementById("msgIdentity").selectedMenuItem = newMenuItem; 216 if (currentDocument.getElementById("msgIdentity").vid) 217 217 vI.StorageNotification.info(storage.stringBundle.GetStringFromName("vident.smartIdentity.vIStorageUsage") + "."); 218 218 }
Note: See TracChangeset
for help on using the changeset viewer.