Fix the legacy experience launch instance dialog can not open

Since the commit c219a3efc6
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
This commit is contained in:
wei.ying 2017-04-26 23:07:37 +08:00
parent b80668e7d4
commit 02559e544e

View File

@ -44,6 +44,7 @@
<script src='{{ STATIC_URL }}horizon/js/horizon.d3linechart.js'></script>
<script src='{{ STATIC_URL }}horizon/js/horizon.d3barchart.js'></script>
<script src='{{ STATIC_URL }}horizon/js/horizon.sidebar.js'></script>
<script src='{{ STATIC_URL }}js/horizon.instances.js'></script>
<script src='{{ STATIC_URL }}js/horizon.quota.js'></script>
<script src='{{ STATIC_URL }}js/horizon.metering.js'></script>
<script src='{{ STATIC_URL }}js/horizon.networktopologycommon.js'></script>