Skip to content

Commit

Permalink
Merge pull request #1722 from jwforres/enter-key-submit
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot authored Jun 15, 2017
2 parents 039d765 + 49ed85f commit fa07799
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
4 changes: 3 additions & 1 deletion app/views/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@

<uib-tab active="selectedTab.deployImage">
<uib-tab-heading>Deploy Image</uib-tab-heading>
<deploy-image project="project" context="context"></deploy-image>
<form><!-- wrapping form element is necessary for the enter key to trigger the submit button -->
<deploy-image project="project" context="context"></deploy-image>
</form>
</uib-tab>

<uib-tab active="selectedTab.fromFile">
Expand Down
12 changes: 7 additions & 5 deletions app/views/newfromtemplate.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ <h2>Images</h2>
</li>
</ul>
</div>
<process-template
project="project"
template="template"
prefill-parameters="prefillParameters">
</process-template>
<form><!-- wrapping form element is necessary for the enter key to trigger the submit button -->
<process-template
project="project"
template="template"
prefill-parameters="prefillParameters">
</process-template>
</form>
</div>
</div>
</div><!-- /col-* -->
Expand Down
4 changes: 4 additions & 0 deletions dist/scripts/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -4774,7 +4774,9 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
"</uib-tab>\n" +
"<uib-tab active=\"selectedTab.deployImage\">\n" +
"<uib-tab-heading>Deploy Image</uib-tab-heading>\n" +
"<form>\n" +
"<deploy-image project=\"project\" context=\"context\"></deploy-image>\n" +
"</form>\n" +
"</uib-tab>\n" +
"<uib-tab active=\"selectedTab.fromFile\">\n" +
"<uib-tab-heading>Import YAML / JSON</uib-tab-heading>\n" +
Expand Down Expand Up @@ -11147,8 +11149,10 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
"</li>\n" +
"</ul>\n" +
"</div>\n" +
"<form>\n" +
"<process-template project=\"project\" template=\"template\" prefill-parameters=\"prefillParameters\">\n" +
"</process-template>\n" +
"</form>\n" +
"</div>\n" +
"</div>\n" +
"</div>\n" +
Expand Down

0 comments on commit fa07799

Please sign in to comment.