Changeset 63b6a3


Ignore:
Timestamp:
Jan 16, 2009, 3:38:53 AM (13 years ago)
Author:
rene <rene@…>
Branches:
lite_0.1, multiEdit, ng_0.6, ng_0.6_help, ng_0.8, ng_0.9
Children:
5f3c9a
Parents:
c09d7b
Message:

remove old entry even if recipient is changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_rdfDataEditor.js

    rc09d7b r63b6a3  
    2626    __rdfDatasource : null,
    2727    __type : null,
     28    __recipient : null,
    2829   
    2930    storageExtras : null,
    3031
    3132    init : function() {
     33        vI_rdfDataEditor.__recipient = window.arguments[0]["recipientCol"];
    3234        vI_rdfDataEditor.__type = window.arguments[1];
    3335        vI_rdfDataEditor.__rdfDatasource = window.arguments[2];
    3436
    35         document.getElementById("recipient").value = window.arguments[0]["recipientCol"];
     37        document.getElementById("recipient").value = vI_rdfDataEditor.__recipient;
    3638       
    3739        var typeMenuPopup = document.getElementById("type_menu_popup")
     
    9597
    9698        // if current Type and previous Type are different, remove previous resource
    97         vI_rdfDataEditor.__rdfDatasource.removeRDF(document.getElementById("recipient").value,
     99        vI_rdfDataEditor.__rdfDatasource.removeRDF(vI_rdfDataEditor.__recipient,
    98100                vI_rdfDataEditor.__type);
    99101
Note: See TracChangeset for help on using the changeset viewer.