static/js/control.js
/**
 * Update selected toolbar.
 * @function updateSelectToolbar
 * @param {Object} mo - master object
 */
Update selected toolbar.
@function updateSelectToolbar
@param {Object} mo - master object
Update selected toolbar . @function updateSelectToolbar @param { Object } mo - master object
function updateSelectToolbar(mo) {
  var keys = Object.keys(mo.pick);
  var n = keys.length;
  var str = 'Selected: ' + n;
  if (n === 1) str += ' (ID: ' + mo.data.df[keys[0]][0] + ')';
  document.getElementById('info-head').lastElementChild.firstElementChild
    .innerHTML = str;
}
function updateSelectToolbar ( mo ) { var keys = Object . keys ( mo . pick ) ; var n = keys . length ; var str = 'Selected: ' + n ; if ( n === 1 ) str += ' (ID: ' + mo . data . df [ keys [ 0 ] ] [ 0 ] + ')' ; document . getElementById ( 'info-head' ) . lastElementChild . firstElementChild . innerHTML = str ; }
Update selected toolbar.
Update selected toolbar .