From 595d5f97ac7b95ff71b391071d7d339e4ccbd4f6 Mon Sep 17 00:00:00 2001 From: Xavier Priour Date: Sat, 17 Oct 2015 19:29:25 +0200 Subject: Import board: now proper createdAt dates --- client/components/import/import.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'client/components/import/import.js') diff --git a/client/components/import/import.js b/client/components/import/import.js index f15185ed..a2972562 100644 --- a/client/components/import/import.js +++ b/client/components/import/import.js @@ -28,7 +28,7 @@ const ImportPopup = BlazeComponent.extendComponent({ this.setError(error.error); } else { Filter.addException(response); - Popup.close(); + this.onFinish(response); } } ); @@ -43,6 +43,10 @@ const ImportPopup = BlazeComponent.extendComponent({ setError(error) { this.error.set(error); }, + + onFinish() { + Popup.close(); + } }); ImportPopup.extendComponent({ @@ -76,5 +80,9 @@ ImportPopup.extendComponent({ getLabel() { return 'import-board-trello-instruction'; }, + + onFinish(response) { + Utils.goBoardId(response); + }, }).register('boardImportBoardPopup'); -- cgit v1.2.3-1-g7c22