diff --git a/scripts/packages/tator-js b/scripts/packages/tator-js index e32a73072..03be19f86 160000 --- a/scripts/packages/tator-js +++ b/scripts/packages/tator-js @@ -1 +1 @@ -Subproject commit e32a730728b42e48032690a96874d07fb60f6a18 +Subproject commit 03be19f86586f554bdeb7dc776a00cc5d4cf8ef7 diff --git a/ui/src/js/annotation/attribute-panel.js b/ui/src/js/annotation/attribute-panel.js index 54e8c02d0..52783e21d 100644 --- a/ui/src/js/annotation/attribute-panel.js +++ b/ui/src/js/annotation/attribute-panel.js @@ -1239,6 +1239,9 @@ export class AttributePanel extends TatorElement { this._idWidget.setValue(values.id); this._elementalIdWidget.setValue(values.elemental_id); this._markWidget.setValue(values.mark); + if (values.mark == -1) { + this.permission = "Read Only"; + } this._frameWidget.setValue(values.frame); this._typeWidget.setValue( `${this._dataType.name} (ID: ${this._dataType.id})` diff --git a/ui/src/js/annotation/video-settings-dialog.js b/ui/src/js/annotation/video-settings-dialog.js index c4656d7d7..a930d1021 100644 --- a/ui/src/js/annotation/video-settings-dialog.js +++ b/ui/src/js/annotation/video-settings-dialog.js @@ -530,7 +530,7 @@ export class VideoSettingsDialog extends ModalDialog { resA.size === resB.size || [...resA].every((value) => resB.has(value)); if (!sameResolutions) { - Utilities.warningAlert("Videos do not have the same resolutions!"); + console.warn("Videos do not have the same resolutions!"); break; } }