From e857d2e82405b2dd6c27aeb74ab02d99c7b69c82 Mon Sep 17 00:00:00 2001 From: Stanislaw Adaszewski Date: Thu, 13 Feb 2020 14:28:21 +0100 Subject: [PATCH] Added ability to create new projects. --- frontend/src/js/dialog/wb-delete-dialog.js | 2 +- .../src/js/dialog/wb-new-project-dialog.js | 54 +++++++++++++++++++ frontend/src/js/misc/make-arvados-request.js | 8 +-- frontend/src/js/misc/wb-delete-object.js | 2 +- frontend/src/js/page/wb-browse.js | 17 ++++-- frontend/src/js/widget/wb-tabs.js | 14 +++-- 6 files changed, 86 insertions(+), 11 deletions(-) create mode 100644 frontend/src/js/dialog/wb-new-project-dialog.js diff --git a/frontend/src/js/dialog/wb-delete-dialog.js b/frontend/src/js/dialog/wb-delete-dialog.js index d906cbc..838c201 100644 --- a/frontend/src/js/dialog/wb-delete-dialog.js +++ b/frontend/src/js/dialog/wb-delete-dialog.js @@ -38,7 +38,7 @@ class WBDeleteDialog extends Component {
{ e.preventDefault(); + onclick={ e => { e.preventDefault(); this.hide(); wbDeleteObject(arvHost, arvToken, item.uuid).then(callback); } } />