From bdb41dce721a131626ee59f2f44bc0b1f10d2b52 Mon Sep 17 00:00:00 2001 From: willp24 Date: Thu, 19 Jul 2018 16:46:03 -0400 Subject: [PATCH] Volumes: Added a message on successful importing of meshes --- django/applications/catmaid/static/js/widgets/volumewidget.js | 1 + 1 file changed, 1 insertion(+) diff --git a/django/applications/catmaid/static/js/widgets/volumewidget.js b/django/applications/catmaid/static/js/widgets/volumewidget.js index 067e28e1e6..e8ad21edc8 100644 --- a/django/applications/catmaid/static/js/widgets/volumewidget.js +++ b/django/applications/catmaid/static/js/widgets/volumewidget.js @@ -598,6 +598,7 @@ return new Promise(function(resolve, reject) { CATMAID.fetch(project.id + "/volumes/import", "POST", data, undefined, undefined, undefined, undefined, {"Content-type" : null}) .then(function(data){ + CATMAID.msg("success", Object.keys(data).length + " mesh(s) loaded"); self.redraw(); }) .catch(CATMAID.handleError);