summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorXavier Priour <xavier.priour@bubblyware.com>2015-10-17 19:29:25 +0200
committerXavier Priour <xavier.priour@bubblyware.com>2015-10-17 19:29:25 +0200
commit595d5f97ac7b95ff71b391071d7d339e4ccbd4f6 (patch)
treeff2d645284096f06daf80f668b87dbdf6531fe74 /client
parent468694a84cc164e4923f2d2e4631c37ceb1c4b55 (diff)
downloadwekan-595d5f97ac7b95ff71b391071d7d339e4ccbd4f6.tar.gz
wekan-595d5f97ac7b95ff71b391071d7d339e4ccbd4f6.tar.bz2
wekan-595d5f97ac7b95ff71b391071d7d339e4ccbd4f6.zip
Import board: now proper createdAt dates
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');