This is just some static backup of the original site, don't expect every link to work!

Ignore:
Timestamp:
Sep 10, 2018, 2:45:07 PM (4 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
4e6c57
Parents:
ab83a7
Message:

removed fcc settings, only available via identity now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/vI_statusmenu.js

    rab83a7 r1fb53b  
    4040      objStorageSaveMenuItem: null,
    4141      objStatusMenuSeparator: null,
    42 //       objSaveSwitch: null,
    43 //       objSaveBaseIDSwitch: null,
    44 //       objFccSwitch: null,
    4542      objStatusText: null,
    4643      objStatusLogo: null,
     
    5249          statusmenu.objStatusMenu.setAttribute("hidden", !vI.vIprefs.get(data));
    5350          statusmenu.objStatusLogo.setAttribute("hidden", !vI.vIprefs.get(data));
    54           // no break, continue like with doFcc           
    55 //         case "fcc_show_switch":
    56 //           statusmenu.objFccSwitch.setAttribute("hidden", !vI.vIprefs.get(data));
    57 //           // no break, continue like with doFcc         
    58 //         case "doFcc":
    59 //           statusmenu.objFccSwitch.setAttribute("checked", vI.vIprefs.get(data));
    60 //           break;
    61 //         case "storage_show_switch":
    62 //           statusmenu.objSaveSwitch.setAttribute("hidden", !vI.vIprefs.get(data));
    63 //           break;
    64 //         case "storage_show_baseID_switch":
    65 //           statusmenu.objSaveBaseIDSwitch.setAttribute("hidden", !vI.vIprefs.get(data));
    66 //           break;
     51          break;
    6752        case "storage_store":
    6853          statusmenu.objStorageSaveMenuItem.setAttribute("checked", vI.vIprefs.get(data));
     
    9277      addObserver: function () {
    9378        vI.vIprefs.addObserver("show_status", this.observe, this);
    94 //         vI.vIprefs.addObserver("fcc_show_switch", this.observe, this);
    95         vI.vIprefs.addObserver("doFcc", this.observe, this);
    9679        vI.vIprefs.addObserver("storage", this.observe, this);
    97 //         vI.vIprefs.addObserver("storage_show_switch", this.observe, this);
    98 //         vI.vIprefs.addObserver("storage_show_baseID_switch", this.observe, this);
    9980        vI.vIprefs.addObserver("storage_colorIndication", this.observe, this);
    10081        vI.vIprefs.addObserver("storage_store", this.observe, this);
     
    10485      removeObserver: function () {
    10586        vI.vIprefs.removeObserver("show_status", this.observe);
    106 //         vI.vIprefs.removeObserver("fcc_show_switch", this.observe);
    107         vI.vIprefs.removeObserver("doFcc", this.observe);
    10887        vI.vIprefs.removeObserver("storage", this.observe);
    109 //         vI.vIprefs.removeObserver("storage_show_switch", this.observe);
    110 //         vI.vIprefs.removeObserver("storage_show_baseID_switch", this.observe);
    11188        vI.vIprefs.removeObserver("storage_colorIndication", this.observe);
    11289        vI.vIprefs.removeObserver("storage_store", this.observe);
     
    12097        statusmenu.objStorageSaveMenuItem = document.getElementById("virtualIdentityExtension_statusMenu_storage_save");
    12198        statusmenu.objStatusMenuSeparator = document.getElementById("virtualIdentityExtension_statusMenu_separator");
    122 //         statusmenu.objSaveSwitch = document.getElementById("virtualIdentityExtension_saveSwitch");
    123 //         statusmenu.objSaveBaseIDSwitch = document.getElementById("virtualIdentityExtension_saveBaseIDSwitch");
    124 //         statusmenu.objFccSwitch = document.getElementById("virtualIdentityExtension_fccSwitch");
    12599        statusmenu.objStatusText = document.getElementById("statusText");
    126100        statusmenu.objStatusTooltipLine1 = document.getElementById("virtualIdentityExtension_statusMenuTooltip_StatusValueLine1");
     
    129103        statusmenu.addObserver();
    130104        statusmenu.observe(this, null, null, "show_status");
    131 //         statusmenu.observe(this, null, null, "fcc_show_switch");
    132 //         statusmenu.observe(this, null, null, "storage_show_switch");
    133 //         statusmenu.observe(this, null, null, "storage_show_baseID_switch");
    134105        statusmenu.observe(this, null, null, "storage_colorIndication");
    135106        statusmenu.observe(this, null, null, "storage_store_base_id");
Note: See TracChangeset for help on using the changeset viewer.