B2G/gecko/browser/components/places/content/places.js
/**
   * Shows/Hides a tree column.
   * @param   element
   *          The menuitem element for the column
   */
Shows/Hides a tree column.
@param   element
The menuitem element for the column
Shows / Hides a tree column . @param element The menuitem element for the column
function VM_showHideColumn(element) {
    var column = element.column;
    var splitter = column.nextSibling;
    if (splitter && splitter.localName != "splitter")
      splitter = null;
    if (element.getAttribute("checked") == "true") {
      column.setAttribute("hidden", "false");
      if (splitter)
        splitter.removeAttribute("hidden");
    }
    else {
      column.setAttribute("hidden", "true");
      if (splitter)
        splitter.setAttribute("hidden", "true");
    }
  }
function VM_showHideColumn ( element ) { var column = element . column ; var splitter = column . nextSibling ; if ( splitter && splitter . localName != "splitter" ) splitter = null ; if ( element . getAttribute ( "checked" ) == "true" ) { column . setAttribute ( "hidden" , "false" ) ; if ( splitter ) splitter . removeAttribute ( "hidden" ) ; } else { column . setAttribute ( "hidden" , "true" ) ; if ( splitter ) splitter . setAttribute ( "hidden" , "true" ) ; } }
Shows/Hides a tree column.
Shows / Hides a tree column .