B2G/gaia/apps/settings/js/icc.js
/**
   * Navigate through the STK application options
   */
Navigate through the STK application options
Navigate through the STK application options
function updateSelection(command) {
    var menu = command.options;
    DUMP('Showing STK menu');
    clearList();
    DUMP('STK App Menu title: ' + menu.title);
    DUMP('STK App Menu default item: ' + menu.defaultItem);
    showTitle(menu.title);
    menu.items.forEach(function(menuItem) {
      DUMP('STK App Menu item: ' + menuItem.text + ' # ' +
        menuItem.identifier);
      iccStkList.appendChild(buildMenuEntry({
        id: 'stk-menuitem-' + menuItem.identifier,
        text: menuItem.text,
        nai: _(menuItem.nai),
        onclick: onSelectOptionClick.bind(null, command),
        attributes: [['stk-select-option-identifier', menuItem.identifier]]
      }));
    });
  }
function updateSelection ( command ) { var menu = command . options ; DUMP ( 'Showing STK menu' ) ; clearList ( ) ; DUMP ( 'STK App Menu title: ' + menu . title ) ; DUMP ( 'STK App Menu default item: ' + menu . defaultItem ) ; showTitle ( menu . title ) ; menu . items . forEach ( function ( menuItem ) { DUMP ( 'STK App Menu item: ' + menuItem . text + ' # ' + menuItem . identifier ) ; iccStkList . appendChild ( buildMenuEntry ( { id : 'stk-menuitem-' + menuItem . identifier , text : menuItem . text , nai : _ ( menuItem . nai ) , onclick : onSelectOptionClick . bind ( null , command ) , attributes : [ [ 'stk-select-option-identifier' , menuItem . identifier ] ] } ) ) ; } ) ; }
Navigate through the STK application options
Navigate through the STK application options