[2.2] MessageBox: btn will always be 1 when using with Prototype
[2.2] MessageBox: btn will always be 1 when using with Prototype
Hello,
I found a bug when using prototype and Ext at the same time (bug tested in ff3/ie7 on vista):
When you include the prototype.js from the ext framework (not yet tested with an external prototype.js), and also include the "normal" Ext framework (ext-all.js and so on), the btn-value of a function of the syntax function(btn, text) { alert(btn) } as the callback of a Ext:MessageBox will always be 1, REGARDLESS of the button you clicked.