From 97cc5e2fd5e39ef558e4d5a45e10d56c7c225113 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 2ab9b5512b..79e4fa247f 100644 --- a/django/applications/catmaid/static/js/widgets/volumewidget.js +++ b/django/applications/catmaid/static/js/widgets/volumewidget.js @@ -586,6 +586,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);