enabling and disabling ui on load recording button
This commit is contained in:
@@ -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!")
|
||||
|
||||
@@ -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 :(")
|
||||
|
||||
Reference in New Issue
Block a user