BUG 9962 I added a validation to field SOLVED

I added a validation to text field
This commit is contained in:
Brayan Osmar Pereyra Suxo
2012-11-14 17:05:42 -04:00
parent 4fc80c6518
commit 1a7cc3a34e
2 changed files with 7 additions and 0 deletions

View File

@@ -749,6 +749,11 @@ class wsBase
} }
} }
$aSetup['MESS_PASSWORD'] = $passwd; $aSetup['MESS_PASSWORD'] = $passwd;
if ($aSetup['MESS_RAUTH'] == false || (is_string($aSetup['MESS_RAUTH']) && $aSetup['MESS_RAUTH'] == 'false')) {
$aSetup['MESS_RAUTH'] = 0;
} else {
$aSetup['MESS_RAUTH'] = 1;
}
$oSpool = new spoolRun(); $oSpool = new spoolRun();
$oSpool->setConfig( array ('MESS_ENGINE' => $aSetup['MESS_ENGINE'],'MESS_SERVER' => $aSetup['MESS_SERVER'],'MESS_PORT' => $aSetup['MESS_PORT'],'MESS_ACCOUNT' => $aSetup['MESS_ACCOUNT'],'MESS_PASSWORD' => $aSetup['MESS_PASSWORD'],'SMTPAuth' => $aSetup['MESS_RAUTH'] $oSpool->setConfig( array ('MESS_ENGINE' => $aSetup['MESS_ENGINE'],'MESS_SERVER' => $aSetup['MESS_SERVER'],'MESS_PORT' => $aSetup['MESS_PORT'],'MESS_ACCOUNT' => $aSetup['MESS_ACCOUNT'],'MESS_PASSWORD' => $aSetup['MESS_PASSWORD'],'SMTPAuth' => $aSetup['MESS_RAUTH']

View File

@@ -673,6 +673,7 @@ var testEmailWindow = new Ext.Window({
width: 470, width: 470,
closable:false, closable:false,
plain: true, plain: true,
modal: true,
autoHeight: true, autoHeight: true,
layout: 'fit', layout: 'fit',
y: 82, y: 82,
@@ -683,6 +684,7 @@ var testEmailWindowMail = new Ext.Window({
width: 470, width: 470,
closable:false, closable:false,
plain: true, plain: true,
modal: true,
autoHeight: true, autoHeight: true,
layout: 'fit', layout: 'fit',
y: 82, y: 82,