Hi Guys,

I tried to use a prototype for BasicForm to predefine waitTitle and waitMsg instead of defining it in every submit() call but it doesn't work. I'm using a FormPanel (form in my code).

Code:
if(Ext.form.BasicForm){
    Ext.form.BasicForm.prototype.waitTitle = "Übertragung";
    Ext.form.BasicForm.prototype.waitMsg = "Sende Daten...";
}
Code:
handler: function(){
  form.getForm().submit({
       url: 'api/eml/createMailbox.php',
       method: 'POST',
       ...
   });
}
What's wrong?
Regards Patrick