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:
1921406
)
Targerts function generates its own inner HTML.
author
Mike Taylor
<mike@indexdata.com>
Mon, 28 Apr 2014 16:29:15 +0000
(17:29 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Mon, 28 Apr 2014 16:29:15 +0000
(17:29 +0100)
src/mkws-widgets.js
patch
|
blob
|
history
diff --git
a/src/mkws-widgets.js
b/src/mkws-widgets.js
index
176e45c
..
570d3dd
100644
(file)
--- a/
src/mkws-widgets.js
+++ b/
src/mkws-widgets.js
@@
-125,6
+125,12
@@
mkws.registerWidgetType('Targets', function() {
var that = this;
var M = mkws.M;
+ $(this.node).html('\
+<div class="mkwsBytarget mkwsTeam_' + this.team.name() + '">\
+No information available yet.\
+</div>');
+ $(this.node).css("display", "none");
+
this.team.queue("targets").subscribe(function(data) {
var table ='<table><thead><tr>' +
'<td>' + M('Target ID') + '</td>' +