[UI bug] Timezone field shown even if we do not use ScheduleIssue <!-- div.margin { padding: 10px 40px 40px 30px; } table.tocTable { border: 1px solid; border-color: #e0e0e0; background-color: #fff; } .title { color: #d1232b; font-weight: normal; font-size: 28px; } h1 { color: #d1232b; font-weight: normal; font-size: 21px; margin-bottom: 5px; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #cccccc; } h2 { color: #646464; font-weight: bold; font-size: 18px; } h3 { color: #000000; font-weight: bold; font-size: 16px; } h4 { color: #666666; font-weight: bold; font-size: 15px; } h5 { color: #000000; font-weight: bold; font-size: 13px; } h6 { color: #000000; font-weight: bold; font-size:14px; } ul, ol { margin-left: 0; list-style-position: outside; } --> Symptoms In SLA Definition table, the Timezone field is shown even if we no use Schedule Steps to replicate 1. Click "New" in the SLA Definition module to open the dialog 2. Set the "Schedule source" field = "SLA definition" 3. Set the "Schedule" != None (e.g. 8-5 weekdays) 4. Set the "Timezone source" field = "The SLA definition's time zone" - The Timezone field is appeared 5. Set the "Schedule source" field = "No schedule" - The Timezone field still shown Result: The Timezone field is still shown, but should be hidden Cause client script "hide timezone source" Resolution function onChange(control, oldValue, newValue, isLoading, isTemplate) { if (newValue === '') return; if (newValue == "no_schedule") g_form.setVisible("timezone_source", false); else g_form.setVisible("timezone_source", true); } to: function onChange(control, oldValue, newValue, isLoading, isTemplate) { if (newValue === '') return; if (newValue == "no_schedule") { g_form.setVisible("timezone_source", false); g_form.setVisible("timezone",false); }else{ g_form.setVisible("timezone_source", true); g_form.setVisible("timezone",true); } }