You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2015/02/17 12:57:52 UTC
[07/20] isis git commit: ISIS-537: tiny tweak to adjust the placement
of the jgrowl message.
ISIS-537: tiny tweak to adjust the placement of the jgrowl message.
Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/fe75adfb
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/fe75adfb
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/fe75adfb
Branch: refs/heads/ISIS-903
Commit: fe75adfb84818da419db257c1af5e77208f3c942
Parents: 43ced98
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Mon Feb 16 20:55:50 2015 +0000
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Mon Feb 16 21:09:53 2015 +0000
----------------------------------------------------------------------
.../java/org/apache/isis/viewer/wicket/ui/errors/JGrowlUtil.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/isis/blob/fe75adfb/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/errors/JGrowlUtil.java
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/errors/JGrowlUtil.java b/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/errors/JGrowlUtil.java
index 37548d9..686e011 100644
--- a/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/errors/JGrowlUtil.java
+++ b/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/errors/JGrowlUtil.java
@@ -50,7 +50,9 @@ public class JGrowlUtil {
.append('"');
buf.append(", {");
buf.append("type: \"").append(cssClassSuffix).append('"');
- buf.append(", delay: " + (sticky ? "0" : "2000"));
+ buf.append(", delay: " + (sticky ? "0" : "2000"));
+ buf.append(", placement: { from: 'top', align: 'right' }");
+ buf.append(", offset: 50");
buf.append('}');
buf.append(");\n");
}