Skip to content

Commit

Permalink
#4610 fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
sekmiller committed Jul 2, 2018
1 parent d9d1453 commit 175ab87
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions src/main/webapp/editFilesFragment.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<span class="glyphicon glyphicon-info-sign"/>
<h:outputFormat value=" #{bundle['file.selectToAdd.tipLimit']}" escape="false"
rendered="#{systemConfig.maxFileUploadSize !=null and !empty systemConfig.maxFileUploadSize}">
<f:param value="#{systemConfig.maxFileUploadSize}"/>
<f:param value="#{systemConfig.humanMaxFileUploadSize}"/>
</h:outputFormat>
<h:outputFormat value=" #{bundle['file.selectToAdd.tipMoreInformation']}" escape="false">
<f:param value="#{systemConfig.guidesBaseUrl}"/>
Expand Down Expand Up @@ -178,20 +178,6 @@
});
//]]>
</script>
<p class="help-block">
<span class="glyphicon glyphicon-info-sign"/>
<ui:fragment rendered="#{systemConfig.maxFileUploadSize !=null and !empty systemConfig.maxFileUploadSize}">
<h:outputFormat value=" #{bundle['file.selectToAdd.tipLimit']}" escape="false">
<f:param value="#{systemConfig.humanMaxFileUploadSize}"/>
</h:outputFormat>
</ui:fragment>
<ui:fragment rendered="true">
<h:outputFormat value=" #{bundle['file.selectToAdd.tipMoreInformation']}" escape="false">
<f:param value="#{systemConfig.guidesBaseUrl}"/>
<f:param value="#{systemConfig.guidesVersion}"/>
</h:outputFormat>
</ui:fragment>
</p>
<!-- ATTENTION: the update= attribute in the fileUpload component -->
<!-- below appears to be super important -->
<!-- Note the "oncomplete=" attribute in the p:fileUpload -->
Expand Down Expand Up @@ -305,8 +291,8 @@
<p:message for="fileUpload" id="uploadMessage" display="text" />

<p:commandButton id="uploadStarted" action="#{EditDatafilesPage.uploadStarted()}" update="" style="display:none"/>
<p:commandButton id="AllUploadsFinished" action="#{EditDatafilesPage.uploadFinished()}" update="datasetForm:fileUpload,datasetForm:dropBoxUserButton,datasetForm:uploadMessage,datasetForm:rsyncPanel,datasetForm:filesCounts,datasetForm:filesTable,datasetForm:filesButtons" oncomplete="javascript:uploadWidgetDropMsg();" style="display:none"/>
<p:commandButton id="dropBoxUploadFinished" action="#{EditDatafilesPage.uploadFinished()}" update="datasetForm:fileUpload,datasetForm:dropBoxUserButton,datasetForm:dropBoxUploadMessage,datasetForm:rsyncPanel,datasetForm:filesCounts,datasetForm:filesTable,datasetForm:filesButtons" style="display:none"/>
<p:commandButton id="AllUploadsFinished" action="#{EditDatafilesPage.uploadFinished()}" update="datasetForm:fileUpload,datasetForm:dropBoxUserButton,datasetForm:uploadMessage,datasetForm:rsyncPanel,datasetForm:filesCounts,datasetForm:filesTable" oncomplete="javascript:uploadWidgetDropMsg();" style="display:none"/>
<p:commandButton id="dropBoxUploadFinished" action="#{EditDatafilesPage.uploadFinished()}" update="datasetForm:fileUpload,datasetForm:dropBoxUserButton,datasetForm:dropBoxUploadMessage,datasetForm:rsyncPanel,datasetForm:filesCounts,datasetForm:filesTable" style="display:none"/>

<!-- ????? TODO: How scalable are all these hidden update buttons ????? -->
<!-- ?????
Expand Down

0 comments on commit 175ab87

Please sign in to comment.