modules/enterprise/gui/portal-war/src/main/webapp/rhq/content/repo.xhtml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fe26d6a1480246d9e9d42b38f3076e1c9cd45c5d
Merge: fe24a0b... d3ecc7e...
Author: Jay Shaughnessy <jshaughn(a)redhat.com>
Date: Mon Jul 26 13:25:25 2010 -0400
Merge branch 'master' into master-jay
commit fe24a0b7e6dc3573a90c58e7f6047757ad3160dc
Author: Jay Shaughnessy <jshaughn(a)redhat.com>
Date: Mon Jul 26 10:57:21 2010 -0400
add some minor protection against concurrent repo sync by disabling button
while one gui initiated sync is running.
diff --git a/modules/enterprise/gui/portal-war/src/main/webapp/rhq/content/repo.xhtml
b/modules/enterprise/gui/portal-war/src/main/webapp/rhq/content/repo.xhtml
index 7f30b4d..a636bae 100644
--- a/modules/enterprise/gui/portal-war/src/main/webapp/rhq/content/repo.xhtml
+++ b/modules/enterprise/gui/portal-war/src/main/webapp/rhq/content/repo.xhtml
@@ -193,7 +193,7 @@
<h:commandButton rendered="${mode ne 'edit'}"
value="EDIT"
action="#{RepoDetailsUIBean.edit}" alt="Edit"
styleClass="buttonmed" id="editButton" />
- <h:commandButton rendered="${mode ne 'edit'}"
+ <h:commandButton rendered="${mode ne 'edit' and not
RepoDetailsUIBean.currentlySyncing}"
value="SYNCHRONIZE" action="#{RepoDetailsUIBean.sync}"
alt="Synchronize" styleClass="buttonmed"
id="syncButton" />
<h:commandButton rendered="#{RepoDetailsUIBean.currentlySyncing}"
Show replies by date