sync
This commit is contained in:
		| @@ -58,6 +58,7 @@ | ||||
|                     $('#selWeightUnit').val(data.WeightUnits); | ||||
|                     $('#sel_loginverifytype').val(data.LoginVerifyType); | ||||
|                     $('#ipt_mfaremembermedays').val(data.MFARememberMeDays); | ||||
|                     $('#sel_locdatasource').val(data.BreadcrumbLocationSource); | ||||
|                     if (data.Connectors && data.Connectors.length > 0) { | ||||
|                         var con = data.Connectors[0]; | ||||
|                         $('#ipt_connectorserver').val(con.Key); | ||||
| @@ -84,6 +85,7 @@ | ||||
|                 'WeightUnits': $('#selWeightUnit').val(), | ||||
|                 'LoginVerifyType': $('#sel_loginverifytype').val(), | ||||
|                 'MFARememberMeDays': $('#ipt_mfaremembermedays').val(), | ||||
|                 'BreadcrumbLocationSource': $('#sel_locdatasource').val(), | ||||
|                 'Connectors': [connector] | ||||
|             }; | ||||
|             var alerttitle = GetTextByKey("P_SET_SAVESYSTEMOPTIONS", 'Save System Options'); | ||||
| @@ -105,7 +107,7 @@ | ||||
|  | ||||
|             if (item.MFARememberMeDays !== "") { | ||||
|                 if (!IsPositiveInteger.test(item.MFARememberMeDays)) { | ||||
|                     showAlert(GetTextByKey("P_SET_XXX", 'MFA Remember Me Days format error.'), alerttitle); | ||||
|                     showAlert(GetTextByKey("P_SET_MFAREMEMBERMEDAYSFORMATERROR", 'MFA Remember Me Days format error.'), alerttitle); | ||||
|                     return; | ||||
|                 } | ||||
|             } | ||||
| @@ -215,17 +217,27 @@ | ||||
|                     <td> | ||||
|                         <select id="sel_loginverifytype" style="width: 304px;"> | ||||
|                             <option value=""></option> | ||||
|                             <option value="Email">Email</option> | ||||
|                             <option value="Email" data-lgid="P_UM_EMAIL">Email</option> | ||||
|                             <%--<option value="SMS">SMS</option>--%> | ||||
|                         </select></td> | ||||
|                     <td></td> | ||||
|                 </tr> | ||||
|                 <tr> | ||||
|                     <td class="label" data-lgid="P_SET_XXX">MFA Remember Me Days:</td> | ||||
|                     <td class="label" data-lgid="P_SET_MFAREMEMBERMEDAYS_COLON">MFA Remember Me Days:</td> | ||||
|                     <td> | ||||
|                         <input id="ipt_mfaremembermedays" style="width: 100px;" maxlength="10" /></td> | ||||
|                     <td></td> | ||||
|                 </tr> | ||||
|                 <tr> | ||||
|                     <td class="label" data-lgid="P_SET_DEFAULTBREADCRUMBLOCATIONSOURCES_COLON">Default Breadcrumb Location Source(s):</td> | ||||
|                     <td> | ||||
|                         <select id="sel_locdatasource" style="width: 304px;"> | ||||
|                             <option value="0" data-lgid="P_MV_PRIMARYONLY">Primary Only</option> | ||||
|                             <option value="1" data-lgid="P_MV_THEFTMODEMULTIPLELINES">Theft Mode (Multiple Lines)</option> | ||||
|                             <option value="2" data-lgid="P_MV_COMBINEDSINGLELINE">Combined (Single Line)</option> | ||||
|                         </select></td> | ||||
|                     <td></td> | ||||
|                 </tr> | ||||
|                 <tr> | ||||
|                     <td colspan="3"> | ||||
|                         <div style="font-size: 18px; color: grey; margin: 20px 0px 0px 10px" data-lgid="P_SET_CONNECTOR">Connector</div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user