Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #474 from zanata/rhbz1094094
Browse files Browse the repository at this point in the history
Refresh statistic in page after copy trans operation
  • Loading branch information
definite committed Jun 2, 2014
2 parents 32564e4 + eb0c036 commit 28a9ba4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zanata-war/src/main/webapp/iteration/view.xhtml
Expand Up @@ -258,7 +258,7 @@
<div class="l--pad-all-half l--push-top-quarter">
<zanata:progressBar id="copy-trans-progress-bar"
actionBean="#{copyTransAction}"
render="copy-trans-progress-messages"
render="copy-trans-progress-messages" oncomplete="refreshStatistics()"
onCompleteRender="copy-trans-buttons, copy-trans"/>

<s:div id="copy-trans-progress-messages"
Expand Down
Expand Up @@ -22,6 +22,9 @@
<composite:attribute name="render"
shortDescription="Ids of component to render on pull request"/>

<composite:attribute name="oncomplete"
shortDescription="The client-side script method to be called after complete"/>

<composite:attribute name="onCompleteRender"
shortDescription="Ids of component to render on complete"/>

Expand All @@ -33,7 +36,7 @@
<composite:implementation>

<a4j:jsFunction name="onCompleteFunction"
render="poll-#{cc.attrs.id}, #{cc.attrs.onCompleteRender}"/>
render="poll-#{cc.attrs.id}, #{cc.attrs.onCompleteRender}" oncomplete="#{cc.attrs.oncomplete}"/>

<a4j:poll id="poll-#{cc.attrs.id}" interval="#{cc.attrs.interval}"
enabled="#{cc.attrs.actionBean.inProgress}"
Expand Down

0 comments on commit 28a9ba4

Please sign in to comment.