summaryrefslogtreecommitdiffstats
path: root/web/widget/table
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-02-26 13:45:20 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-02-26 16:52:57 +0200
commite55cd03cf3afd5bd838de86c76ad858d882bd33f (patch)
tree2c8618df5b8d1690782f2897e6ee451877220da6 /web/widget/table
parent843920be5a9df58eb9dd997b49db93b6f243ade9 (diff)
downloadaconf-e55cd03cf3afd5bd838de86c76ad858d882bd33f.tar.bz2
aconf-e55cd03cf3afd5bd838de86c76ad858d882bd33f.tar.xz
web client: status color coding in detail-linked tabular layout
Diffstat (limited to 'web/widget/table')
-rw-r--r--web/widget/table/row.js4
1 files changed, 4 insertions, 0 deletions
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) {