aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2011-11-23 11:17:41 +0200
committerLeif Åstrand <leif@vaadin.com>2011-11-23 11:17:41 +0200
commit744f3a68d3c85d6856475f7caa5abd968a8d2e9c (patch)
tree362a3f7a29aac55089b500e93d7b0f2d136b8a14 /src
parent2be0089a7c97125d256562ed03db8578f07ea8b2 (diff)
downloadvaadin-framework-744f3a68d3c85d6856475f7caa5abd968a8d2e9c.tar.gz
vaadin-framework-744f3a68d3c85d6856475f7caa5abd968a8d2e9c.zip
Don't use hard coded version number in default window title
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/server/AjaxPageHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/server/AjaxPageHandler.java b/src/com/vaadin/terminal/gwt/server/AjaxPageHandler.java
index 6975bcbb0a..75ca37f6eb 100644
--- a/src/com/vaadin/terminal/gwt/server/AjaxPageHandler.java
+++ b/src/com/vaadin/terminal/gwt/server/AjaxPageHandler.java
@@ -38,8 +38,8 @@ public abstract class AjaxPageHandler implements RequestHandler {
final BufferedWriter page = new BufferedWriter(new OutputStreamWriter(
response.getOutputStream(), "UTF-8"));
- String title = ((root.getCaption() == null) ? "Vaadin 6" : root
- .getCaption());
+ String title = ((root.getCaption() == null) ? "Vaadin "
+ + AbstractApplicationServlet.VERSION_MAJOR : root.getCaption());
/* Fetch relative url to application */
// don't use server and port in uri. It may cause problems with some