MCPcopy Create free account
hub / github.com/angular-app/angular-app / openLoginDialog

Function openLoginDialog

client/src/common/security/security.js:18–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 // Login form dialog stuff
17 var loginDialog = null;
18 function openLoginDialog() {
19 if ( loginDialog ) {
20 throw new Error('Trying to open a dialog that is already open!');
21 }
22 loginDialog = $dialog.dialog();
23 loginDialog.open('security/login/form.tpl.html', 'LoginFormController').then(onLoginDialogClose);
24 }
25 function closeLoginDialog(success) {
26 if (loginDialog) {
27 loginDialog.close(success);

Callers 1

security.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected