enabling and disabling ui on load recording button

This commit is contained in:
Rohit
2019-07-08 17:19:04 -04:00
parent 562345e7b6
commit 3ceaca926d
2 changed files with 2 additions and 0 deletions

View File

@@ -383,6 +383,7 @@ playbackStatus.subscribe(function(message) {
triggerService('/right/aescape/mode/activateReadyController');
displayTaggingOptions('play');
} else if (status === "loaded") {
enableUI();
triggerService('/left/aescape/mode/activateReadyController');
triggerService('/right/aescape/mode/activateReadyController');
displayMessage(true, "Loaded the selected bag file!")

View File

@@ -294,6 +294,7 @@ function hideLoadingOptions(loadBag) {
console.log(singleArmMode)
if(loadBag) {
var selectedBagName = $('#loadBagList').val();
disableUI();
loadSelectedBagFile(selectedBagName, singleArmMode, function(updateError){
// if(updateError) {
// displayMessage(false, "Something went wrong in the backend while fetching the bag files :(")