nl_tokens: Displays a message box with OK and Cancel buttons prompting the user to enter some text ( comparable to JavaScript s prompt ) . The prompt can be a single - line or multi - line textbox . If a callback function is passed it will be called after the user clicks either button and the id of the button that was clicked ( could also be the top - right close button ) and the text that was entered will be passed as the two parameters to the callback .
pl_tokens: function ( title , message , fn , scope , multiLine , value , prompt ) { return this . show ( { title : title || null , message : message || null , buttons : Ext . MessageBox . OKCANCEL , scope : scope , prompt : prompt || true , multiLine : multiLine , value : <mask> , fn : function ( ) { if ( fn ) { fn . apply ( scope , arguments ) ; } } } ) ; }