Changeset 1fb53b for content/vI_statusmenu.js
- Timestamp:
- Sep 10, 2018, 2:45:07 PM (4 years ago)
- Branches:
- ng_0.9
- Children:
- 4e6c57
- Parents:
- ab83a7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
content/vI_statusmenu.js
rab83a7 r1fb53b 40 40 objStorageSaveMenuItem: null, 41 41 objStatusMenuSeparator: null, 42 // objSaveSwitch: null,43 // objSaveBaseIDSwitch: null,44 // objFccSwitch: null,45 42 objStatusText: null, 46 43 objStatusLogo: null, … … 52 49 statusmenu.objStatusMenu.setAttribute("hidden", !vI.vIprefs.get(data)); 53 50 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; 67 52 case "storage_store": 68 53 statusmenu.objStorageSaveMenuItem.setAttribute("checked", vI.vIprefs.get(data)); … … 92 77 addObserver: function () { 93 78 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);96 79 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);99 80 vI.vIprefs.addObserver("storage_colorIndication", this.observe, this); 100 81 vI.vIprefs.addObserver("storage_store", this.observe, this); … … 104 85 removeObserver: function () { 105 86 vI.vIprefs.removeObserver("show_status", this.observe); 106 // vI.vIprefs.removeObserver("fcc_show_switch", this.observe);107 vI.vIprefs.removeObserver("doFcc", this.observe);108 87 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);111 88 vI.vIprefs.removeObserver("storage_colorIndication", this.observe); 112 89 vI.vIprefs.removeObserver("storage_store", this.observe); … … 120 97 statusmenu.objStorageSaveMenuItem = document.getElementById("virtualIdentityExtension_statusMenu_storage_save"); 121 98 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");125 99 statusmenu.objStatusText = document.getElementById("statusText"); 126 100 statusmenu.objStatusTooltipLine1 = document.getElementById("virtualIdentityExtension_statusMenuTooltip_StatusValueLine1"); … … 129 103 statusmenu.addObserver(); 130 104 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");134 105 statusmenu.observe(this, null, null, "storage_colorIndication"); 135 106 statusmenu.observe(this, null, null, "storage_store_base_id");
Note: See TracChangeset
for help on using the changeset viewer.