summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/widget/inline.js4
-rw-r--r--web/widget/table/row.js4
2 files changed, 8 insertions, 0 deletions
diff --git a/web/widget/inline.js b/web/widget/inline.js
index ac0fa32..38d288c 100644
--- a/web/widget/inline.js
+++ b/web/widget/inline.js
@@ -94,6 +94,10 @@ define(
var labelTd = $("<td>").text(label);
el.on("hasDetails", function(event, path) {
labelTd.html(dom.objectRef(path).text(label));
+ el.on("statusChanged", function(event, status) {
+ dom.setStatus(labelTd, status);
+ event.stopPropagation();
+ });
event.stopPropagation();
});
diff --git a/web/widget/table/row.js b/web/widget/table/row.js
index d4cc927..49cf296 100644
--- a/web/widget/table/row.js
+++ b/web/widget/table/row.js
@@ -13,6 +13,10 @@ define(
return $("<tr>").html($("<td>").prop("class", "placeholder"));
},
+ setStatus: function(status) {
+ this.wrapped.trigger("statusChanged", [status]);
+ },
+
showHeading: false,
addActionButton: function(label, action) {