BUG 8730 se adiciono arreglo para cuentas inexistentes en email configuration
This commit is contained in:
@@ -101,7 +101,7 @@ Ext.onReady(function(){
|
||||
disabled : true,
|
||||
listeners: {
|
||||
select: function(combo, value) {
|
||||
if (Ext.getCmp('EmailEngine').getValue()== 'Mail (PHP)') {
|
||||
if (Ext.getCmp('EmailEngine').getValue()== 'MAIL') { alert
|
||||
Ext.getCmp('Server').setVisible(false);
|
||||
Ext.getCmp('Server').getEl().up('.x-form-item').setDisplayed(false); // hide label
|
||||
Ext.getCmp('Port').setVisible(false);
|
||||
@@ -317,7 +317,7 @@ Ext.onReady(function(){
|
||||
params: { CFG_UID: 'Emails' },
|
||||
success: function(r,o) {
|
||||
var res = Ext.decode(r.responseText);
|
||||
|
||||
if (! res.data) return;
|
||||
if (res.success) {
|
||||
Ext.getCmp('EnableEmailNotifications').setValue(res.data.MESS_ENABLED);
|
||||
Ext.getCmp('EmailEngine').setValue(res.data.MESS_ENGINE);
|
||||
|
||||
@@ -285,7 +285,32 @@ Ext.onReady(function(){
|
||||
store: new Ext.data.ArrayStore({
|
||||
fields: ['id', 'name'],
|
||||
data : uxTypes
|
||||
})
|
||||
}),
|
||||
listeners: {
|
||||
select: function(a, b) {
|
||||
var nameGroup = groupsGrid.getSelectionModel().selection['record'].data['CON_VALUE'];
|
||||
var uidGroup = groupsGrid.getSelectionModel().selection['record'].data['GRP_UID'];
|
||||
|
||||
Ext.Ajax.request({
|
||||
url: '../users/users_Ajax?function=usersGroupAllFieldsExtJS',
|
||||
params: { GRP_UID: uidGroup },
|
||||
success: function(result, request) {
|
||||
var res = Ext.decode(result.responseText);
|
||||
|
||||
console.log(res.data);
|
||||
|
||||
}
|
||||
});
|
||||
/*var row = usersGrid.getSelectionModel().getSelected();
|
||||
role = row.get('USR_ROLE');
|
||||
|
||||
if (role == 'PROCESSMAKER_ADMIN' && (this.value == 'SIMPLIFIED' || this.value == 'SINGLE')) {
|
||||
PMExt.warning(_('ID_WARNING'), _('ID_ADMINS_CANT_USE_UXS'));
|
||||
this.setValue('NORMAL');
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
})
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user