Issue #195 : When uploading, warn when the user quits the page (#222)
authorDimitri Gilbert <dimitri.gilbert@gmail.com>
Thu, 25 Jan 2018 17:40:23 +0000 (18:40 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 25 Jan 2018 17:40:23 +0000 (18:40 +0100)
commit529479f924b1849423fb087f9699f8ecb20610ca
tree3d65b27cb34f3cc187c1bb3af867b254166fee2e
parentc360c49456a27529268722fb7c645819cff59486
Issue #195 : When uploading, warn when the user quits the page (#222)

* issue #195

* fixing missing provider definition

* fix styling issue

* fix styling issue

* removed unecessary code

* using angular confirmService instead of window.confirm

* gitignore unecessary folders

* style fixes

* using a generic canDeactivateGuard

* fixing lint style
client/src/app/shared/can-deactivate-guard.service.ts [new file with mode: 0644]
client/src/app/videos/+video-edit/video-add-routing.module.ts
client/src/app/videos/+video-edit/video-add.component.ts
client/src/app/videos/+video-edit/video-add.module.ts