B2G/gecko/browser/components/preferences/privacy.js
/**
   * Update the selected pane based on the history mode menulist
   */
Update the selected pane based on the history mode menulist
Update the selected pane based on the history mode menulist
function PPP_updateHistoryModePane()
  {
    let selectedIndex = -1;
    switch (document.getElementById("historyMode").value) {
    case "remember":
      selectedIndex = 0;
      break;
    case "dontremember":
      selectedIndex = 1;
      break;
    case "custom":
      selectedIndex = 2;
      break;
    }
    document.getElementById("historyPane").selectedIndex = selectedIndex;
  }
function PPP_updateHistoryModePane ( ) { let selectedIndex = - 1 ; switch ( document . getElementById ( "historyMode" ) . value ) { case "remember" : selectedIndex = 0 ; break ; case "dontremember" : selectedIndex = 1 ; break ; case "custom" : selectedIndex = 2 ; break ; } document . getElementById ( "historyPane" ) . selectedIndex = selectedIndex ; }
Update the selected pane based on the history mode menulist
Update the selected pane based on the history mode menulist