Changeset 771a68


Ignore:
Timestamp:
Jan 13, 2009, 1:03:52 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:
919c17
Parents:
9d0ad3
Message:

update was broken after last commit. repaired

File:
1 edited

Legend:

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

    r9d0ad3 r771a68  
    221221    },
    222222   
    223     readAllResourcesFromRDF : function (rdfDataTree) {
     223    readAllResourcesFromRDF : function (addNewDatum) {
    224224        vI_notificationBar.dump("## vI_rdfDatasource: readAllResourcesFromRDF.\n");
    225225        var enumerator = vI_rdfDatasource.rdfDataSource.GetAllResources();
     
    229229           
    230230            var type; var name;
    231             if (resource.ValueUTF8.match(new RegExp(vI_rdfDatasource.rdfNS + vI_rdfDatasource.rdfNSEmail, "i")))
     231            if (resource.ValueUTF8.match(new RegExp(vI_rdfDatasource.rdfNS + vI_rdfDatasource.rdfNSEmail + "/", "i")))
    232232                { type = "email"; name = RegExp.rightContext }
    233             else if (resource.ValueUTF8.match(new RegExp(vI_rdfDatasource.rdfNS + vI_rdfDatasource.rdfNSNewsgroup, "i")))
     233            else if (resource.ValueUTF8.match(new RegExp(vI_rdfDatasource.rdfNS + vI_rdfDatasource.rdfNSNewsgroup + "/", "i")))
    234234                { type = "newsgroup"; name = RegExp.rightContext }
    235             else if (resource.ValueUTF8.match(new RegExp(vI_rdfDatasource.rdfNS + vI_rdfDatasource.rdfNSMaillist, "i")))
     235            else if (resource.ValueUTF8.match(new RegExp(vI_rdfDatasource.rdfNS + vI_rdfDatasource.rdfNSMaillist + "/", "i")))
    236236                { type = "maillist"; name = RegExp.rightContext }
    237237            else continue;
    238238           
    239             rdfDataTree.addNewDatum(resource, type, name, rdfDataTree.idData)
     239            addNewDatum (resource, type, name)
    240240        }
    241241    },
Note: See TracChangeset for help on using the changeset viewer.