Changeset dd1f45 for chrome/content/v_identity/vI_storageExtras.js
- Timestamp:
- Oct 5, 2010, 1:54:59 PM (12 years ago)
- Branches:
- ng_0.6, ng_0.8, ng_0.9
- Children:
- 0852d9
- Parents:
- 045bfd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chrome/content/v_identity/vI_storageExtras.js
r045bfd rdd1f45 93 93 this.extras[4] = new vI_storageExtras_sMime_messageEncryption() 94 94 95 if (rdfDatasource) this.loopForRDF(rdfDatasource, resource )95 if (rdfDatasource) this.loopForRDF(rdfDatasource, resource, "get") 96 96 } 97 97 98 98 vI_storageExtras.prototype = { 99 loopForRDF : function(rdfDatasource, resource ) {99 loopForRDF : function(rdfDatasource, resource, type) { 100 100 for( var i = 0; i < this.extras.length; i++ ) { 101 101 // if (vI_notificationBar) vI_notificationBar.dump("## vI_rdfDatasource: loopForRDF " + rdfDatasource + "\n"); 102 102 // only if pref set and feature(element available) or for dataEditor 103 if (typeof(gMsgCompose) == "undefined" || !gMsgCompose || this.extras[i].active) 104 this.extras[i].value = rdfDatasource._getRDFValue(resource, this.extras[i].field, this.extras[i].value) 103 if (typeof(gMsgCompose) == "undefined" || !gMsgCompose || this.extras[i].active) { 104 switch (type) { 105 case "get": this.extras[i].value = rdfDatasource._getRDFValue(resource, this.extras[i].field, this.extras[i].value); break; 106 case "set": this.extras[i].value = rdfDatasource._setRDFValue(resource, this.extras[i].field, this.extras[i].value); break; 107 case "unset": this.extras[i].value = rdfDatasource._unsetRDFValue(resource, this.extras[i].field, this.extras[i].value); break; 108 } 109 } 105 110 } 106 111 },
Note: See TracChangeset
for help on using the changeset viewer.