projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fedd5ca
)
targets widget removes leading "Client_" from states.
author
Mike Taylor
<mike@indexdata.com>
Tue, 20 Jan 2015 08:25:48 +0000
(08:25 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 20 Jan 2015 08:25:48 +0000
(08:25 +0000)
src/mkws-widget-main.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-main.js
b/src/mkws-widget-main.js
index
5438348
..
a20e270
100644
(file)
--- a/
src/mkws-widget-main.js
+++ b/
src/mkws-widget-main.js
@@
-25,7
+25,7
@@
mkws.registerWidgetType('targets', function() {
cur.diagnostic = data[i].diagnostic;
cur.message = data[i].message;
cur.records = data[i].records;
- cur.state = data[i].state;
+ cur.state = data[i].state.replace(/^Client_/, '');
cleandata.push(cur);
}