rem: createCheckboxMenuItem(aParent, j, entry.title, j == index, aAdjacentElement); 
add: createCheckboxMenuItem(aParent, j, entry.title, j==index); 
context: function FillHistoryMenu(aParent, aMenu, aAdjacentElement)  {    // Remove old entries if any    deleteHistoryItems(aParent);    var sessionHistory = getWebNavigation().sessionHistory;    var count = sessionHistory.count;    var index = sessionHistory.index;    var end;    var j;    var entry;    switch (aMenu)      {        case "back":          end = (index > MAX_HISTORY_MENU_ITEMS) ? index - MAX_HISTORY_MENU_ITEMS : 0;          if ((index - 1) < end) return false;          for (j = index - 1; j >= end; j--)            {              entry = sessionHistory.getEntryAtIndex(j, false);              if (entry)                createMenuItem(aParent, j, entry.title);            }          break;        case "forward":          end  = ((count-index) > MAX_HISTORY_MENU_ITEMS) ? index + MAX_HISTORY_MENU_ITEMS : count;          if ((index + 1) >= end) return false;          for (j = index + 1; j < end; j++)            {              entry = sessionHistory.getEntryAtIndex(j, false);              if (entry)                createMenuItem(aParent, j, entry.title);            }          break;        case "go":          if (count > 0) {            if (aAdjacentElement)               aAdjacentElement.removeAttribute( "hidden" );          }          end = count > MAX_HISTORY_MENU_ITEMS ? count - MAX_HISTORY_MENU_ITEMS : 0;          for (j = count - 1; j >= end; j--)            {              entry = sessionHistory.getEntryAtIndex(j, false);              if (entry)                createCheckboxMenuItem(aParent, j, entry.title, j == index, aAdjacentElement);            }          break;      }    return true;  }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/dc017b1cacbbbf4c7edb0c63594c500f753e6a51/sessionHistoryUI.js/clean/suite/browser/sessionHistoryUI.js