PDA

View Full Version : Ext.MessageBox issue after use confirm more than ones



Choleriker
25 Feb 2007, 5:37 AM
Hey,

first i have to say: nice work!!

I have found an issue in Ext.MessageBox. I try to show a simple confirmatíon-box. First time i show it i get the following result: :D

http://tecbehind.de/useruploads/choleriker/first.jpg

Nice! After klick yes or no and then recall the message-box i get the following screen: :roll:

http://tecbehind.de/useruploads/choleriker/second.jpg

This i get on every browser, the screenies are from firefox. Im using windows vista ultimate. This problem i have had with the 0.40 alpha too. Im always using NestedLayouts and GridPanels. The confirmation call is this:



deleteEntry: function() {
// ausgewählten Datensatz ermitteln
var d = this.dataSource.getAt(this.selModel.getSelectedCell()[0]).json;
// Frage an Benutzer ausgeben
Ext.MessageBox.confirm(
Texts.Remove_Really_Title,
String.format(Texts.Blacklist_ReallyRemoveEntry, d.caller),
this._deleteEntry,
this
);
}


It simply shows 'Do you want to delete XXX'. I select here simply a dataRow of an EditorGrid.

Regards, Michael

Choleriker
5 Mar 2007, 6:23 AM
A similar problem i have with the BasicDialog. It seems to be that the bg of the body of the dialog is behind all, its the dom-element with the class .x-dlg-bg-center. It has an z-index set to auto. But why is it behind all other components? I dont have changed any z-index! If i resize the dialog, the element is drawing correct after resize.

How to ensure that a dialog is completely in front of the other elements?

jack.slocum
6 Mar 2007, 2:49 AM
I can't seem to get the same behavior. Can you provide a link?

ElGranAzul
6 Mar 2007, 2:59 AM
I had the same problem some time ago.

I've auto created the dialog, and it happens when I hide it, but it's fixed when I destroyed it. Try using destroy instead of hide.