Merge pull request #579 from julceslauhub/master

BUG 9789 PM 2.0.44 testing 1 En User cuando se usa replace by no tiene la opcion None por lo cual si el usuario desiste de una seleccion SOLVED
This commit is contained in:
julceslauhub
2012-09-19 14:47:33 -07:00
2 changed files with 5 additions and 2 deletions

View File

@@ -69,6 +69,9 @@ switch($_POST['action'])
$defaultOption = isset($oConf->aConfig['format']) ? $oConf->aConfig['format'] : '';
$aUserInfo = array();
if (isset($_POST['addNone']) && $_POST['addNone'] == '1') {
$aUserInfo[] = array('USR_UID' => '', 'USER_FULLNAME' => '- ' . G::LoadTranslation('ID_NONE') . ' -');
}
while ( $oDataset->next()) {
$aRow1 = $oDataset->getRow();
@@ -472,7 +475,7 @@ switch($_POST['action'])
}
}
}
$aFields['MENUSELECTED_NAME'] = $menuSelected;

View File

@@ -273,7 +273,7 @@ Ext.onReady(function () {
method: "POST"
}),
baseParams: {"action": "usersList", "USR_UID": USR_UID},
baseParams: {"action": "usersList", "USR_UID": USR_UID, "addNone": 1},
reader: new Ext.data.JsonReader({
fields: [