diff --git a/client/app/components/coordinator/js/update_guis.js b/client/app/components/coordinator/js/update_guis.js
index dee8dd3..6d8909b 100644
--- a/client/app/components/coordinator/js/update_guis.js
+++ b/client/app/components/coordinator/js/update_guis.js
@@ -12,6 +12,8 @@ function getBagList(callback)
var request = new ROSLIB.ServiceRequest({});
service.callService(request, function(result) {
+ console.log("getBagListResults");
+ console.log(result);
callback(JSON.parse(result.message));
});
}
@@ -186,20 +188,22 @@ function displayLoadingOptions() {
placeholder : "Select bag to play",
render : {
item: function(item, escape) {
+ filename = item.filename;
+ category = item.category || 'None';
return '
' +
'
' +
- '' + escape(item.filename) + '' +
- '' + ' (' + escape(item.category) + ') ' + '' +
+ '' + escape(filename) + '' +
+ '' + ' (' + escape(category) + ') ' + '' +
'
' +
'
';
},
option: function(item, escape) {
- var label = item.filename || item.category;
- var caption = item.filename ? item.category : null;
+ filename = item.filename;
+ category = item.category || 'None';
return '' +
'
' +
- '
' + escape(item.filename) + '
' +
- '
' + escape(item.category) + '
' +
+ '
' + escape(filename) + '
' +
+ '
' + escape(category) + '
' +
'
' +
'
' +
'
' +
diff --git a/client/app/main.css b/client/app/main.css
index 521af88..7842cc7 100644
--- a/client/app/main.css
+++ b/client/app/main.css
@@ -435,8 +435,6 @@ html, body {
.bag-option .category {
width: 40%;
- font-weight: 600;
-
}
.bag-option .tags {