Changeset b4ca5e


Ignore:
Timestamp:
Sep 10, 2018, 1:45:49 PM (2 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
64a5f3
Parents:
8ec72e
Message:

changed old references to clone menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/vI_storage.js

    r8ec72e rb4ca5e  
    193193        // firstUsedInputElement was set before and we are not editing the same
    194194        var isNotFirstInputElement = (storage.firstUsedInputElement && storage.firstUsedInputElement != inputElement)
    195         var currentIdentity = currentDocument.getElementById("virtualIdentityExtension_msgIdentityClone").identityData
     195        var currentIdentity = currentDocument.getElementById("msgIdentity").identityData
    196196        var storageResult = storage._rdfDatasourceAccess.updateVIdentityFromStorage(inputElement.value, recipientType,
    197           currentIdentity, currentDocument.getElementById("virtualIdentityExtension_msgIdentityClone").vid, isNotFirstInputElement);
     197          currentIdentity, currentDocument.getElementById("msgIdentity").vid, isNotFirstInputElement);
    198198
    199199        if (storageResult.identityCollection.number == 0) return; // return if there was no match
     
    206206          for (var j = 0; j < storageResult.identityCollection.number; j++) {
    207207            Log.debug("__updateVIdentityFromStorage adding: " + storageResult.identityCollection.identityDataCollection[j].combinedName);
    208             let menuItem = currentDocument.getElementById("virtualIdentityExtension_msgIdentityClone")
     208            let menuItem = currentDocument.getElementById("msgIdentity")
    209209              .addIdentityToCloneMenu(storageResult.identityCollection.identityDataCollection[j])
    210210            if (!newMenuItem) newMenuItem = menuItem;
     
    213213        if (storageResult.result == "accept") {
    214214          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)
    217217            vI.StorageNotification.info(storage.stringBundle.GetStringFromName("vident.smartIdentity.vIStorageUsage") + ".");
    218218        }
Note: See TracChangeset for help on using the changeset viewer.