Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
disable enter key in filtering box to avoid invalid url being generate:
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Eng committed Oct 2, 2012
1 parent ca75637 commit f963a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zanata-war/src/main/webapp/iteration/files.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<ui:define name="page_title">#{projectIterationFilesAction.projectSlug}:#{projectIterationFilesAction.iterationSlug} - Files</ui:define>
<ui:define name="center_content">
<a4j:form>
<a4j:form onkeydown="if(event.keyCode==13) { return false;}">
<s:token allowMultiplePosts="true"/>
<rich:datascroller id="data_table_scroller" align="center" for="data_table" fastControls="hide"
rendered="#{projectIterationFilesAction.iterationDocuments.size() > 20}">
Expand Down

0 comments on commit f963a0a

Please sign in to comment.