Skip to content

Commit

Permalink
#7565 more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sekmiller committed Apr 15, 2022
1 parent c5208e5 commit 9d06b45
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/webapp/editdatafiles.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
<p:commandButton id="savebutton" class="btn btn-default" value="#{bundle.saveChanges}"
update=":datasetForm,:messagePanel"
onclick="PF('blockFileForm').show();"
oncomplete="javascript:bind_bsui_components();$(document).scrollTop(0);"
oncomplete="$(document).scrollTop(0);"
action="#{EditDatafilesPage.save}"/>
<p:commandButton styleClass="btn btn-link" id="cancelbutton" value="#{bundle.cancel}" action="#{EditDatafilesPage.cancel}" process="@this" update="@form" oncomplete="bind_bsui_components();"/>
<p:commandButton styleClass="btn btn-link" id="cancelbutton" value="#{bundle.cancel}" action="#{EditDatafilesPage.cancel}" process="@this" update="@form"/>
</div>
<div jsf:rendered="#{empty EditDatafilesPage.fileMetadatas and (datasetPage || EditDatafilesPage.showFileUploadFragment())}">
<button id="doneFilesButtonnop" class="btn btn-default" value="#{bundle.done}" onclick="cancelDatasetEdit();return false;">#{bundle.done}</button>
Expand Down
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 @@ -49,7 +49,7 @@
<p:commandLink onclick="if (!(#{fileMetadata!=null} || testFilesSelected()))
return false;"
update="@([id$=accessPopup])"
oncomplete="PF('accessPopup').show();bind_bsui_components();">
oncomplete="PF('accessPopup').show();">
<f:setPropertyActionListener target="#{fileMetadataForAction}" value="#{fileMetadata}" />
<f:setPropertyActionListener target="#{bean.termsOfAccess}" value="#{datasetVersion.termsOfUseAndAccess.termsOfAccess}" />
<f:setPropertyActionListener target="#{bean.fileAccessRequest}" value="#{datasetVersion.termsOfUseAndAccess.fileAccessRequest}" />
Expand Down Expand Up @@ -110,7 +110,7 @@
<li>
<p:commandLink
update="@([id$=editProvenancePopup])"
oncomplete="PF('editProvenancePopup').show();bind_bsui_components();">
oncomplete="PF('editProvenancePopup').show();">
<f:actionListener binding="#{provPopupFragmentBean.updatePopupState(fileMetadata, true)}" /> <!--clearProvenanceUpdates() -->
#{bundle['file.provenance']}
</p:commandLink>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/file.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@
<!-- END Top Button/Citation Blocks -->
<div id="contentTabs">
<p:tabView id="tabView" widgetVar="content" activeIndex="#{FilePage.selectedTabIndex}">
<p:ajax event="tabChange" listener="#{FilePage.tabChanged}" oncomplete="bind_bsui_components();" update="@this" />
<p:ajax event="tabChange" listener="#{FilePage.tabChanged}" update="@this" />
<p:tab id="accessTab" class="padding-none" title="#{bundle['file.dataFilesTab.dataAccess']}"
rendered="#{settingsWrapper.rsyncDownload and FilePage.fileMetadata.dataFile.filePackage and systemConfig.rsyncDownload
and !FilePage.fileMetadata.getDataFile().getOwner().getStorageIdentifier().startsWith('s3://') }">
Expand Down

0 comments on commit 9d06b45

Please sign in to comment.