diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-06-07 12:01:48 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-06-07 12:01:48 +0200 |
commit | 915a7e5c6865548ee3664ec67f328f815480a761 (patch) | |
tree | dfb13f82298d3cd8db6a9f4a29fd90588808620f /client/components/modal/events.js | |
parent | 92dd05d06ddeb2a9434df6038c432e6b167c1c99 (diff) | |
download | wekan-915a7e5c6865548ee3664ec67f328f815480a761.tar.gz wekan-915a7e5c6865548ee3664ec67f328f815480a761.tar.bz2 wekan-915a7e5c6865548ee3664ec67f328f815480a761.zip |
Remove modal component
This component wasn't used anymore. We'll probably need something like
that again in the future, but we'll try to use a generic component
from Atmosphere.
Diffstat (limited to 'client/components/modal/events.js')
-rw-r--r-- | client/components/modal/events.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/client/components/modal/events.js b/client/components/modal/events.js deleted file mode 100644 index 2943f841..00000000 --- a/client/components/modal/events.js +++ /dev/null @@ -1,14 +0,0 @@ -Template.modal.events({ - 'click .window-overlay': function(event) { - // We only want to catch the event if the user click on the .window-overlay - // div itself, not a child (ie, not the overlay window) - if (event.target !== event.currentTarget) - return; - Utils.goBoardId(this.card.board()._id); - event.preventDefault(); - }, - 'click .js-close-window': function(event) { - Utils.goBoardId(this.card.board()._id); - event.preventDefault(); - } -}); |