diff --git a/girder/girder_large_image/web_client/views/metadataWidget.js b/girder/girder_large_image/web_client/views/metadataWidget.js index cbf49f89d..761f6cea6 100644 --- a/girder/girder_large_image/web_client/views/metadataWidget.js +++ b/girder/girder_large_image/web_client/views/metadataWidget.js @@ -244,7 +244,7 @@ var MetadatumEditWidget = View.extend({ escapedHtml: true, yesText: 'Delete', confirmCallback: () => { - this.item.removeMetadata(this.key, function () { + this.item.removeMetadata(this.key, () => { metadataList.remove(); this.parentView.parentView.trigger('li-metadata-widget-update', {}); }, null, {