Skip to content
Snippets Groups Projects
Commit 25408474 authored by Uma's avatar Uma
Browse files

Fixes #1239 Customer portal settings mandatory check on fields is removed

parent 48c0e81d
No related branches found
No related tags found
1 merge request!562Fixes #1239 Customer portal settings mandatory check on fields is removed
......@@ -1158,12 +1158,20 @@ class Vtiger_Util_Helper {
}
break;
case 'picklist' : $pickListDetails = $fieldModel->getPicklistValues();
if($defaultValue){
$value = $defaultValue;
break;
}
foreach ($pickListDetails as $key => $value) {
$value = $key;
break;
}
break;
case 'multipicklist': $pickListDetails = $fieldModel->getPicklistValues();
if($defaultValue){
$value = $defaultValue;
break;
}
foreach ($pickListDetails as $key => $value) {
$value = $key;
break;
......
......@@ -141,6 +141,7 @@ Vtiger.Class('Settings_Customer_Portal_Js', {}, {
});
var fieldInfo = jQuery('input[name="selectedFields_'+moduleName+'"]').val();
//Removed mandatory fields checkingRinde
if (fieldInfo != 'null') {
selectedFields[moduleName] = fieldInfo;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment