LoginForm.LanguageSelected

Syntax

LanguageSelected: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The LanguageSelected event occurs on language selection in the system login window.

Example

Executing the example requires that the Prognoz Platform 9 web application login dialog box is opened. 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:

LoginForm