summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-09-30 10:05:49 -0400
committerJames Moger <james.moger@gitblit.com>2014-09-30 10:05:49 -0400
commite6ea43157d30203222c07ff6c0477c077332235d (patch)
tree1f0c8f05ab2269c40aed68789bd3e98bcc33146a /src
parent2654d99368054b7f8cfaec056b599cac4cfb53d9 (diff)
parentc7a2a25fe4479b1f410e258a5a98a0be88a7cc3f (diff)
downloadgitblit-e6ea43157d30203222c07ff6c0477c077332235d.tar.gz
gitblit-e6ea43157d30203222c07ff6c0477c077332235d.zip
Merge branch 'ticket/197' into develop
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/gitblit/wicket/pages/TicketPage.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/TicketPage.java b/src/main/java/com/gitblit/wicket/pages/TicketPage.java
index bb5c7e67..c5b0f31b 100644
--- a/src/main/java/com/gitblit/wicket/pages/TicketPage.java
+++ b/src/main/java/com/gitblit/wicket/pages/TicketPage.java
@@ -37,7 +37,6 @@ import org.apache.wicket.MarkupContainer;
import org.apache.wicket.PageParameters;
import org.apache.wicket.RestartResponseException;
import org.apache.wicket.ajax.AjaxRequestTarget;
-import org.apache.wicket.behavior.IBehavior;
import org.apache.wicket.behavior.SimpleAttributeModifier;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.image.ContextImage;
@@ -687,15 +686,6 @@ public class TicketPage extends RepositoryPage {
Label status = new Label("statusChange", entry.getStatus().toString());
String css = TicketsUI.getLozengeClass(entry.getStatus(), false);
WicketUtils.setCssClass(status, css);
- for (IBehavior b : status.getBehaviors()) {
- if (b instanceof SimpleAttributeModifier) {
- SimpleAttributeModifier sam = (SimpleAttributeModifier) b;
- if ("class".equals(sam.getAttribute())) {
- status.add(new SimpleAttributeModifier("class", "status-change " + sam.getValue()));
- break;
- }
- }
- }
frag.add(status);
addUserAttributions(frag, entry, avatarWidth);
addDateAttributions(frag, entry);