nl_tokens: Handles responding to overflow menu selections .
pl_tokens: function onControlMenuClicked ( ) { switch ( $ ( this ) . data ( 'action' ) ) { <mask> 'toggleFreezeAllNodes' : setNodesFixed ( ! data . allNodesFixed ) ; break ; case 'showFullNames' : appOptions . showFullNames = ! appOptions . showFullNames ; updateAll ( { redrawOnly : true } ) ; break ; case 'showTableView' : appOptions . showTableView = ! appOptions . showTableView ; $ ( '.control-table' ) . toggleClass ( 'hidden' , ! appOptions . showTableView ) ; updateTableUIExtent ( ) ; break ; case 'maxDepthSticky' : appOptions . maxDepthSticky = ! appOptions . maxDepthSticky ; break ; } // Defer updating menu UI until menu is hidden. setTimeout ( updateMenuUI , 200 ) ; }