summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/components/import/import.js10
1 files changed, 9 insertions, 1 deletions
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');