Changeset ec5638


Ignore:
Timestamp:
Feb 28, 2009, 2:20:08 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:
476a9a
Parents:
0c1d28
Message:

removed hideStorageExtras - they are not required any more

Location:
chrome/content/v_identity
Files:
2 edited

Legend:

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

    r0c1d28 rec5638  
    182182
    183183        vI_rdfDatasource.init();
    184         vI_storageExtrasHelper.hideUnusedTreeCols(); // XXX what happens heree ?? :)
    185        
    186         for each (var treeType in vI_rdfDataTree.treeTypes) {
     184       
     185        for each (var treeType in vI_rdfDataTree.treeTypes)
    187186            vI_rdfDataTree.trees[treeType] = new rdfDataTree(treeType);
    188         }
    189187    },
    190188   
  • chrome/content/v_identity/vI_storageExtras.js

    r0c1d28 rec5638  
    3636            .getService(Components.interfaces.nsIPrefService)
    3737            .getBranch("extensions.virtualIdentity."),
    38    
    39     hideUnusedTreeCols : function() {
    40         if (vI_storageExtrasHelper.seamonkey_to_old()) return;
    41         var storageExtras = new vI_storageExtras();
    42         for( var i = 0; i < storageExtras.extras.length; i++ )
    43             if (!vI_storageExtrasHelper.preferences.getBoolPref(storageExtras.extras[i].option))
    44                 document.getElementById(storageExtras.extras[i].field + "Col").setAttribute("hidden", "true");
    45     },
    4638   
    4739    hideUnusedEditorFields : function() {
     
    10294vI_storageExtras.prototype = {
    10395    loopForRDF : function(callFunction, resource) {
    104         for( var i = 0; i < this.extras.length; i++ )
     96        for( var i = 0; i < this.extras.length; i++ ) {
    10597            // only if pref set and feature(element available) or for dataEditor
    10698            if (typeof(gMsgCompose) == "undefined" || !gMsgCompose || this.extras[i].active)
    10799                this.extras[i].value = callFunction(resource, this.extras[i].field, this.extras[i].value)
     100        }
    108101    },
    109102   
Note: See TracChangeset for help on using the changeset viewer.