mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
I decided to create my own and not to use a community package, because 1. it's straightforward 2. it's better integrated with our others libs such as EscapeActions 3. monitoring third-party packages evolutions (eg, CSS changes) is a lot of work. This is basically the same rationale than for our other generic UI components such as the Popup/Popover. This commit also slightly modify the general layout to remove unnecessary wrapper DOM nodes.
13 lines
231 B
JavaScript
13 lines
231 B
JavaScript
Meteor.subscribe('boards')
|
|
|
|
BlazeLayout.setRoot('body')
|
|
|
|
Template.userFormsLayout.onRendered(function() {
|
|
EscapeActions.executeAll()
|
|
})
|
|
|
|
Template.defaultLayout.events({
|
|
'click .js-close-modal': () => {
|
|
Modal.close()
|
|
}
|
|
})
|