Skip to content

Commit

Permalink
remove save query function access when the query has not been executed
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasmoreau committed Apr 15, 2015
1 parent 0204611 commit 6c0f9b5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions portal.war/src/main/webapp/xhtml/query/actionButtons.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
<a4j:form ajaxSubmit="true">
<h:commandButton value="Find data" action="#{query.preview}"
styleClass="roundButton" disabled="#{!queryData.valid}" tabindex="20"/>
<h:commandButton value="Save query" action="#{query.saveQuery}"
styleClass="roundButton" disabled="#{!queryData.valid}" tabindex="20"/>
</a4j:form>
</h:panelGrid>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@

<h:panelGrid id="buttonArea" rendered="#{queryTree.submitable}">
<a4j:form ajaxSubmit="true">
<h:commandButton value="Save query" width="120" action="#{queryTree.saveQuery}"
styleClass="roundButton" tabindex="20"/>
<h:commandButton value="Submit query and find data"
width="120" action="#{queryTree.preview}"
styleClass="roundButton" tabindex="21"/>

</a4j:form>
</h:panelGrid>

Expand Down

0 comments on commit 6c0f9b5

Please sign in to comment.