Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 9th, 2012  |  syntax: None  |  size: 0.36 KB  |  hits: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Alternative way to get a reference to the underlying Ext.Window element of Ext.MessageBox in ExtJS4
  2. var msgBox = Ext.MessageBox.getDialog()
  3.        
  4. var w = Ext.MessageBox.confirm('Confirm', 'Are you sure you want to do that?', showResult);
  5. w.close();
  6.        
  7. Ext.MessageBox.confirm('Confirm', 'Are you sure you want to do that?', showResult);
  8. Ext.MessageBox.close();