mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Fix prettier.
This commit is contained in:
parent
83e4d214cd
commit
5bece0dd1e
3 changed files with 19 additions and 7 deletions
|
@ -48,6 +48,11 @@ $.fn.escapeableTextComplete = function(strategies, options, ...otherArgs) {
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|
||||||
EscapeActions.register('textcomplete', () => {}, () => dropdownMenuIsOpened, {
|
EscapeActions.register(
|
||||||
|
'textcomplete',
|
||||||
|
() => {},
|
||||||
|
() => dropdownMenuIsOpened,
|
||||||
|
{
|
||||||
noClickEscapeOn: '.textcomplete-dropdown',
|
noClickEscapeOn: '.textcomplete-dropdown',
|
||||||
});
|
},
|
||||||
|
);
|
||||||
|
|
|
@ -38,9 +38,13 @@ AccountsTemplates.configure({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
['signIn', 'signUp', 'resetPwd', 'forgotPwd', 'enrollAccount'].forEach(
|
[
|
||||||
routeName => AccountsTemplates.configureRoute(routeName),
|
'signIn',
|
||||||
);
|
'signUp',
|
||||||
|
'resetPwd',
|
||||||
|
'forgotPwd',
|
||||||
|
'enrollAccount',
|
||||||
|
].forEach(routeName => AccountsTemplates.configureRoute(routeName));
|
||||||
|
|
||||||
// We display the form to change the password in a popup window that already
|
// We display the form to change the password in a popup window that already
|
||||||
// have a title, so we unset the title automatically displayed by useraccounts.
|
// have a title, so we unset the title automatically displayed by useraccounts.
|
||||||
|
|
|
@ -153,7 +153,10 @@ if (isSandstorm && Meteor.isServer) {
|
||||||
|
|
||||||
return session.activity(event);
|
return session.activity(event);
|
||||||
})
|
})
|
||||||
.then(() => done(), e => done(e));
|
.then(
|
||||||
|
() => done(),
|
||||||
|
e => done(e),
|
||||||
|
);
|
||||||
})();
|
})();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue