LanguageSelected: function (sender, args)
sender. Event source.
args. Event information.
The LanguageSelected event occurs on language selection in the system login window.
Executing the example requires a opened login page of Foresight. Analytics Platform. The script specified below must be executed in the browser console. Add an event handler:
// Get view of the system login window loginForm = PP.App.getModuleObject(); form = loginForm.getReportBox(); // Add an event handler form.LanguageSelected.add(function (sender, args){ console.debug(args.ListItem.getContent()); });
After executing the example, on language changing, the console displays chosen language.
See also: