BUG 11082 Los mensajes de error se despliegan con el boton muy pequeñ vacio SOLVED
- Los mensajes de error se despliegan con el boton muy pequeno y vacio. - Commented test button(yes/no) in confirm by conflicts with other buttons
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -5,12 +5,6 @@ PMExtJSCommon = function() {
|
|||||||
|
|
||||||
this.confirm = function(title, msg, fnYes, fnNo)
|
this.confirm = function(title, msg, fnYes, fnNo)
|
||||||
{
|
{
|
||||||
if (typeof(_) != 'undefined') {
|
|
||||||
Ext.MessageBox.buttonText = {
|
|
||||||
yes : _('ID_YES'),
|
|
||||||
no : _('ID_NO')
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Ext.MessageBox.confirm(title, msg, function(btn, text){
|
Ext.MessageBox.confirm(title, msg, function(btn, text){
|
||||||
if ( btn == 'yes' )
|
if ( btn == 'yes' )
|
||||||
setTimeout(fnYes, 0)
|
setTimeout(fnYes, 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user