summaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2014-01-30 11:39:57 +0200
committerVaadin Code Review <review@vaadin.com>2014-01-30 09:43:00 +0000
commite5dee6a7417e4466ad35bd9150174f86204bca3e (patch)
treede04cf3c01b7d248349c814596b3a96288d04b32 /server/src
parent69983d0aa0400a3c110e960d0f9da0ca0a59a094 (diff)
downloadvaadin-framework-e5dee6a7417e4466ad35bd9150174f86204bca3e.tar.gz
vaadin-framework-e5dee6a7417e4466ad35bd9150174f86204bca3e.zip
Use Calendar as sender for action handlers (#13191)
The sender parameter to action handlers is now the Calendar instance rather than an instance of a private RPC implementation class. This was probably broken by an earlier refactoring. Change-Id: If15cf232e7578eb55617f45db6b9304f5e80fed5
Diffstat (limited to 'server/src')
-rw-r--r--server/src/com/vaadin/ui/Calendar.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/Calendar.java b/server/src/com/vaadin/ui/Calendar.java
index 9ccc8ea2d9..b0999451c3 100644
--- a/server/src/com/vaadin/ui/Calendar.java
+++ b/server/src/com/vaadin/ui/Calendar.java
@@ -1824,7 +1824,7 @@ public class Calendar extends AbstractComponent implements
try {
Date start = formatter.parse(startDate);
for (Action.Handler ah : actionHandlers) {
- ah.handleAction(action, this, start);
+ ah.handleAction(action, Calendar.this, start);
}
} catch (ParseException e) {
@@ -1842,7 +1842,7 @@ public class Calendar extends AbstractComponent implements
DateConstants.ACTION_DATE_FORMAT_PATTERN);
formatter.setTimeZone(getTimeZone());
for (Action.Handler ah : actionHandlers) {
- ah.handleAction(action, this, events.get(eventIndex));
+ ah.handleAction(action, Calendar.this, events.get(eventIndex));
}
}
}