Skip to content

Commit

Permalink
[FIXED JENKINS-44523] - Do not submit form when pressing Enter in the… (
Browse files Browse the repository at this point in the history
#2902)

* [FIXED JENKINS-44523] - Do not submit form when pressing Enter in the PM filter field.

* Fix indenting
  • Loading branch information
ksenia-nenasheva authored and daniel-beck committed May 28, 2017
1 parent 8b861c5 commit 36e7945
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions core/src/main/resources/hudson/PluginManager/table.jelly
Expand Up @@ -49,12 +49,13 @@ THE SOFTWARE.
<st:include page="sidepanel.jelly"/>
<l:main-panel>
<st:adjunct includes="hudson.PluginManager._table"/>
<form method="post" action="install">
<div id="filter-container">
${%Filter}:
<input type="text" id="filter-box"/>
</div>

<div id="filter-container">
${%Filter}:
<input type="text" id="filter-box"/>
</div>

<form method="post" action="install">
<j:set var="isUpdates" value="${attrs.page=='updates'}" />
<local:tabBar page="${attrs.page}" xmlns:local="/hudson/PluginManager" />
<div class="pane-frame">
Expand Down

1 comment on commit 36e7945

@rtkkroland
Copy link

Choose a reason for hiding this comment

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

Yes yes yes!

That was so annoying. Thank you!

Please sign in to comment.