diff options
author | Zuul <zuul@review.opendev.org> | 2023-04-25 03:52:12 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2023-04-25 03:52:12 +0000 |
commit | c151d67c93a5ea670eeaecf62c89bde1458f358e (patch) | |
tree | 87ece63c5da5b5e023ab99b4b3138f7f21d86d69 /openstack_dashboard/static/js/horizon.networktopology.js | |
parent | 9607dfbba4746f7d493f00f6bbfc2c747b5579c3 (diff) | |
parent | de61e2a0493d6eea25ddb9c26a208064ea22d516 (diff) | |
download | horizon-c151d67c93a5ea670eeaecf62c89bde1458f358e.tar.gz |
Merge "Fix Deprecated: jQuery.parseJSON() warning by updating to JSON.parse()"
Diffstat (limited to 'openstack_dashboard/static/js/horizon.networktopology.js')
-rw-r--r-- | openstack_dashboard/static/js/horizon.networktopology.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack_dashboard/static/js/horizon.networktopology.js b/openstack_dashboard/static/js/horizon.networktopology.js index 02cba863d..bcccb7bc1 100644 --- a/openstack_dashboard/static/js/horizon.networktopology.js +++ b/openstack_dashboard/static/js/horizon.networktopology.js @@ -157,7 +157,7 @@ horizon.network_topology = { self.translate = null; }); angular.element(window).on('message', function(e) { - var message = angular.element.parseJSON(e.originalEvent.data); + var message = JSON.parse(e.originalEvent.data); if (self.previous_message !== message.message) { horizon.alert(message.type, message.message); self.previous_message = message.message; |