aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tensorboard
diff options
context:
space:
mode:
authorGravatar Dan Mané <danmane@gmail.com>2016-05-23 14:40:52 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-05-23 15:52:53 -0700
commitd142d4f3941fe95ef3877a006d3a653c44e71643 (patch)
tree0bed2ecffc95c4fbec4d166d4dd05285e3b222b8 /tensorflow/tensorboard
parent6e95013e505db08916c8cff0e8b585c29899c0c5 (diff)
Fix bug where tf-run-selector would not update on click properly if run names have periods.
It is because Polymer.notifyPath doesn't work on keys that contain periods, see: https://github.com/Polymer/polymer/issues/3675 Fix the issue (hackily) by just cloning the array. Change: 123045948
Diffstat (limited to 'tensorflow/tensorboard')
-rw-r--r--tensorflow/tensorboard/components/tf-multi-checkbox/tf-multi-checkbox.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/tensorboard/components/tf-multi-checkbox/tf-multi-checkbox.html b/tensorflow/tensorboard/components/tf-multi-checkbox/tf-multi-checkbox.html
index a5db63a5e2..6ae2a57362 100644
--- a/tensorflow/tensorboard/components/tf-multi-checkbox/tf-multi-checkbox.html
+++ b/tensorflow/tensorboard/components/tf-multi-checkbox/tf-multi-checkbox.html
@@ -200,7 +200,8 @@ handle these situations gracefully.
var name = e.srcElement.name;
var checked = e.srcElement.checked;
this.runToIsCheckedMapping[name] = checked;
- this.notifyPath("runToIsCheckedMapping." + name, checked);
+ // n.b. notifyPath won't work because run names may have periods.
+ this.runToIsCheckedMapping = _.clone(this.runToIsCheckedMapping);
},
_isChecked: function(item, outSelectedChange) {
return this.runToIsCheckedMapping[item];