summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaladox none <thomasmulhall410@yahoo.com>2019-08-02 15:10:28 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-08-02 15:10:28 +0000
commit60c6c17789cfaecec83998adde679589b19db9c9 (patch)
tree41ae4849f771bdf157e8457828355c8c80d5f41d
parent10259421154aadf9946ade1956fa2327f9d8253e (diff)
parentb1b9b0a30fb8423ca8913796c8d8e1375b77b254 (diff)
Merge "Fix "stopEdit" not disappearing under Polymer 2"master-based
-rw-r--r--polygerrit-ui/app/elements/change/gr-change-actions/gr-change-actions.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/polygerrit-ui/app/elements/change/gr-change-actions/gr-change-actions.js b/polygerrit-ui/app/elements/change/gr-change-actions/gr-change-actions.js
index 02bf783772..a448377028 100644
--- a/polygerrit-ui/app/elements/change/gr-change-actions/gr-change-actions.js
+++ b/polygerrit-ui/app/elements/change/gr-change-actions/gr-change-actions.js
@@ -611,7 +611,9 @@
_deleteAndNotify(actionName) {
if (this.actions[actionName]) {
delete this.actions[actionName];
- this.notifyPath('actions.' + actionName);
+ // We assign a fake value of 'false' to support Polymer 2
+ // see https://github.com/Polymer/polymer/issues/2631
+ this.notifyPath('actions.' + actionName, false);
}
},