Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI-2778: Fix bucket choices in Create Image from Instance page for Angular 1.5 compatibility #2085

Merged
merged 1 commit into from Oct 11, 2016

Conversation

kamalgill
Copy link
Member

…ngular 1.5 compatibility

Also, fix typos in JS unit tests
@@ -37,7 +37,7 @@
<p i18n:translate="">
Specify where your image should be stored in the cloud.
</p>
${panel('form_field', field=create_image_form['s3_bucket'], leftcol_width=3, rightcol_width=9, ng_attrs={'model': 'bucketName', 'options': 'k as v for (k, v) in bucketNameChoices'})}
${panel('form_field', field=create_image_form['s3_bucket'], leftcol_width=3, rightcol_width=9, ng_attrs={'model': 'bucketName', 'options': 'k as v for (k, v) in bucketNameChoices track by v'})}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work OK? We've tried to avoid select as with track by per Angular's documentation.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this seems to work here, and re-working it to use item id/label approach isn't feasible due to the inline create bucket dialog, which is reused elsewhere.

@dkavanagh dkavanagh merged commit 522796b into 5.0-master Oct 11, 2016
@dkavanagh dkavanagh deleted the GUI-2778 branch October 11, 2016 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants