Pass Heat environment through form variables too.

The App Catalog UI would like to pass Heat environment data through to
the Heat stack create form and noticed environments can't be passed
without this patch.

Change-Id: I74618bd7e894325dadca048ede929de15996bb25
Closes-Bug: 1497591
This commit is contained in:
Kevin Fox 2015-09-19 09:47:59 -07:00
parent f9b929837a
commit e5dc8417ae
1 changed files with 4 additions and 1 deletions

View File

@ -99,7 +99,10 @@ class SelectTemplateView(forms.ModalFormView):
initial = {}
for name in [
'template_url',
'template_source'
'template_source',
'template_data',
'environment_source',
'environment_data'
]:
tmp = self.request.GET.get(name)
if tmp: