Skip to content

Commit

Permalink
#4610 complete check in
Browse files Browse the repository at this point in the history
  • Loading branch information
sekmiller committed Oct 5, 2018
1 parent 8b0f475 commit 9b82951
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/webapp/editdatafiles.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
<p:fragment id="editDataFilesButtons">
<div class="button-block">
<p:outputPanel id="filesButtons" >
<div jsf:rendered="#{!empty EditDatafilesPage.fileMetadatas}">
<div jsf:rendered="#{!(empty EditDatafilesPage.fileMetadatas and (datasetPage || EditDatafilesPage.showFileUploadFragment()))}">
<p:commandButton tabindex="1000" id="save" value="#{bundle.saveChanges}" onclick="checkNewlyRestricted();PF('blockFileForm').show();" />
<p:commandButton tabindex="1000" id="cancel" value="#{bundle.cancel}" action="#{EditDatafilesPage.cancel}" process="@this" update="@form" oncomplete="javascript:post_cancel_edit_files_or_metadata()">
</p:commandButton>
Expand All @@ -116,8 +116,7 @@
oncomplete="javascript:bind_bsui_components();$(document).scrollTop(0);"
action="#{EditDatafilesPage.save}" />
</div>


<div jsf:rendered="#{empty EditDatafilesPage.fileMetadatas and (datasetPage || EditDatafilesPage.showFileUploadFragment())}">
<p:commandButton tabindex="1000" id="doneFilesButton" value="#{bundle.done}" action="#{EditDatafilesPage.cancel}" process="@this" update="@form" oncomplete="javascript:post_cancel_edit_files_or_metadata()">
</p:commandButton>

Expand Down

0 comments on commit 9b82951

Please sign in to comment.