diff --git a/girder/girder_large_image/web_client/templates/imageViewerSelectWidget.pug b/girder/girder_large_image/web_client/templates/imageViewerSelectWidget.pug index e5678b7fb..599e1cd36 100644 --- a/girder/girder_large_image/web_client/templates/imageViewerSelectWidget.pug +++ b/girder/girder_large_image/web_client/templates/imageViewerSelectWidget.pug @@ -2,7 +2,7 @@ .g-item-info-header i.icon-picture span Image Viewer - select.form-control.input-sm.image-viewer-control + select#image-viewer-control.form-control.input-sm.image-viewer-control each viewer in viewers option(value=viewer.name) #{viewer.label} .image-controls diff --git a/girder_annotation/girder_large_image_annotation/models/annotation.py b/girder_annotation/girder_large_image_annotation/models/annotation.py index 172c5c2a6..4c4892cd8 100644 --- a/girder_annotation/girder_large_image_annotation/models/annotation.py +++ b/girder_annotation/girder_large_image_annotation/models/annotation.py @@ -978,7 +978,10 @@ def insertElements(doc, *args, **kwargs): annotation.pop('groups', None) self.injectAnnotationGroupSet(annotation) - logger.debug('Saved annotation in %5.3fs' % (time.time() - starttime)) + if annotation['annotation'].get('elements') is not None: + logger.info( + 'Saved annotation in %5.3fs with %d element(s)', + time.time() - starttime, len(annotation['annotation']['elements'])) events.trigger('large_image.annotations.save_history', { 'annotation': annotation, }, asynchronous=True)