Skip to content

Commit

Permalink
drop unused ref to unuseful version field
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Sep 17, 2024
1 parent b3e79da commit 11721e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/webapp/file-edit-button-fragment.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<li>
<p:commandLink onclick="if (!(#{fileMetadata!=null} || testFilesSelected()))
return false;"
oncomplete="if(#{fileMetadata!=null}) window.location.assign('/editdatafiles.xhtml?selectedFileIds=#{fileMetadata.dataFile.id}&#38;datasetId=#{fileMetadata.datasetVersion.dataset.id}#{isFilePg?'&#38;referrer=FILE':''}&#38;version=#{fileMetadata.datasetVersion.version}')"
oncomplete="if(#{fileMetadata!=null}) window.location.assign('/editdatafiles.xhtml?selectedFileIds=#{fileMetadata.dataFile.id}&#38;datasetId=#{fileMetadata.datasetVersion.dataset.id}#{isFilePg?'&#38;referrer=FILE':''}')"
action="#{bean.editFileMetadata()}">
<h:outputText value="#{bundle['file.metadata']}"/>
</p:commandLink>
Expand Down Expand Up @@ -72,7 +72,7 @@
<!-- Replace is only available for single file actions-->
<ui:fragment rendered="#{fileMetadata!=null}">
<li>
<h:outputLink value="/editdatafiles.xhtml?mode=REPLACE#{isFilePg?'&#38;referrer=FILE':''}&#38;datasetId=#{fileMetadata.datasetVersion.dataset.id}&#38;fid=#{fileMetadata.dataFile.id}&#38;version=#{fileMetadata.datasetVersion.version}">
<h:outputLink value="/editdatafiles.xhtml?mode=REPLACE#{isFilePg?'&#38;referrer=FILE':''}&#38;datasetId=#{fileMetadata.datasetVersion.dataset.id}&#38;fid=#{fileMetadata.dataFile.id}">
<h:outputText value="#{bundle['file.replace']}"/>
</h:outputLink>
</li>
Expand Down

0 comments on commit 11721e5

Please sign in to comment.