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:
@@ -37,6 +37,9 @@
|
|||||||
document.getElementById("form[BTNOK]").classList.remove("module_app_button___gray");
|
document.getElementById("form[BTNOK]").classList.remove("module_app_button___gray");
|
||||||
document.getElementById("form[BTNOK]").classList.add("button-login-success");
|
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>
|
</JS>
|
||||||
|
|||||||
Reference in New Issue
Block a user