Type: Regression Bug
Affects Version/s: 7.1.X
Component/s: Web Content > Web Content Administration
1.) Start the system and navigate to Control Panel → Configuration → System Settings → Web Content. Under System scope select Administration and enable ‘Changeable Default Language’.
2.) Go to Content / Web Content -> Create basic web content
3.) Change the default Language at the top
Expected: No error in console
Actual: There is an error in console and _OnDeafultLocaleChanged was not called in ddm_form.js due to this error.
In journal-web / .... / content.jsp
this.ns is not a function at least not in this scope.
While this code is 7.1 specific, based on the original commits of master and 7.2.x, it should update the hidden input field of the languageId in web-content.