nl_tokens: Button sets a timeout of 10ms to remove the {
pl_tokens: function ( button ) { if ( ! this . getAllowToggle ( ) ) { return ; } var me = this , pressedButtons = me . getPressedButtons ( ) || [ ] , buttons = [ ] , alreadyPressed ; if ( ! me . getDisabled ( ) && ! button . getDisabled ( ) ) { //if we allow for multiple pressed buttons, use the existing pressed buttons if ( me . getAllowMultiple ( ) ) { buttons = pressedButtons . concat ( buttons ) ; } alreadyPressed = ( buttons . indexOf ( button ) !== - 1 ) || ( pressedButtons . indexOf ( button ) !== - 1 ) ; //if we allow for depressing buttons, and the new pressed button is currently pressed, remove it if ( alreadyPressed && me . getAllowDepress ( ) ) { Ext . Array . <mask> ( buttons , button ) ; } else if ( ! alreadyPressed || ! me . getAllowDepress ( ) ) { buttons . push ( button ) ; } me . setPressedButtons ( buttons ) ; } }