New View broken/right-click menu not loadingIssue TypeError: currentTab is undefinedjs_includes_doctype.jsx:27303:5 _setActiveTab ReleaseAllCauseThe error is being caused by the onLoad client script trying to set the first tab to active. When a new view is created, there are no sections(tabs) available and hence the Client script is breaking the form.ResolutionTo resolve the issue, you should always check to make sure that there are available tabs before calling the method to set a tab active like this.if(g_tabs2Sections.hasTabs()){g_tabs2Sections.setActive(0);}Related LinksHelpful community article on tabs: https://community.servicenow.com/community?id=community_blog&sys_id=01ccee25dbd0dbc01dcaf3231f9619dc