PMCORE-3276: PRD - Time-Zone Dropdown, pre-selected with default time-zone

remove console.log

code style

code style 2

code style 3
This commit is contained in:
Rodrigo Quelca
2021-09-03 13:44:46 +00:00
parent cac3e46327
commit ce0c581341

View File

@@ -37,6 +37,9 @@
document.getElementById("form[BTNOK]").classList.remove("module_app_button___gray");
document.getElementById("form[BTNOK]").classList.add("button-login-success");
}
if (Intl && Intl.DateTimeFormat) {
document.getElementById("form[BROWSER_TIME_ZONE]").value = Intl.DateTimeFormat().resolvedOptions().timeZone;
}
};
]]>
</JS>