From 02559e544e29c88497cb8579a4ceed06c0adf91d Mon Sep 17 00:00:00 2001 From: "wei.ying" Date: Wed, 26 Apr 2017 23:07:37 +0800 Subject: [PATCH] Fix the legacy experience launch instance dialog can not open Since the commit c219a3efc6622c6e5857577d94633efc7d139860 removed js file 'horizon.instances.js' in the template file ' _scripts.html', If enable the legacy experience launch instance (Set 'LAUNCH_INSTANCE_LEGACY_ENABLED = True' and 'LAUNCH_INSTANCE_NG_ENABLED = False' in the local_settings.py) and click launch instance, we can not open launch instance dialog and also see the following in console.log. VM22778:3 Uncaught TypeError: Cannot read property 'workflow_init' of undefined Change-Id: Ia9e22df5129527e4b021599bbdec9a668a04ee4b Closes-Bug: #1686431 --- openstack_dashboard/templates/horizon/_scripts.html | 1 + 1 file changed, 1 insertion(+) diff --git a/openstack_dashboard/templates/horizon/_scripts.html b/openstack_dashboard/templates/horizon/_scripts.html index c382015bde..29791169cf 100644 --- a/openstack_dashboard/templates/horizon/_scripts.html +++ b/openstack_dashboard/templates/horizon/_scripts.html @@ -44,6 +44,7 @@ +