summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-27 16:08:57 +0000
committerGerrit Code Review <review@openstack.org>2016-09-27 16:08:57 +0000
commit4a00536a913f5658adc7e256eeccebe284fc8d28 (patch)
treef7fb7fbe25aefd475cef1329a01a7e440641e940
parentc2eaffeb2a879a226980ec32124821019c63623d (diff)
parent02ceefd81be29ca60acd05ba1677eb1c8eaae4e0 (diff)
Merge "Fix metadata removal" into stable/newton
-rw-r--r--openstack_dashboard/static/app/core/metadata/modal/modal.controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack_dashboard/static/app/core/metadata/modal/modal.controller.js b/openstack_dashboard/static/app/core/metadata/modal/modal.controller.js
index 13da2d9..83fa1c2 100644
--- a/openstack_dashboard/static/app/core/metadata/modal/modal.controller.js
+++ b/openstack_dashboard/static/app/core/metadata/modal/modal.controller.js
@@ -61,8 +61,8 @@
61 angular.forEach(removed, function bug1606988(value, removedKey) { 61 angular.forEach(removed, function bug1606988(value, removedKey) {
62 angular.forEach(ctrl.tree.flatTree, function compareToDefinitions(item) { 62 angular.forEach(ctrl.tree.flatTree, function compareToDefinitions(item) {
63 if (item.leaf && removedKey.toLocaleLowerCase() === item.leaf.name.toLocaleLowerCase()) { 63 if (item.leaf && removedKey.toLocaleLowerCase() === item.leaf.name.toLocaleLowerCase()) {
64 removed[item.leaf.name] = value;
65 delete removed[removedKey]; 64 delete removed[removedKey];
65 removed[item.leaf.name] = value;
66 } 66 }
67 }); 67 });
68 }); 68 });