diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2009-04-28 18:33:58 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2009-04-28 18:33:58 +0000 |
commit | a0133d3f26aff03d1c231f42375e5ca34b010fc1 (patch) | |
tree | f96f73a18f067ab0b80f1e1ca6e96c517ac51c4c /src/com | |
parent | 4968f78a891c236744a8fcd0ed622d615d413cda (diff) | |
download | vaadin-framework-a0133d3f26aff03d1c231f42375e5ca34b010fc1.tar.gz vaadin-framework-a0133d3f26aff03d1c231f42375e5ca34b010fc1.zip |
sanity check to Notification animation, GWT 1.6 regression
svn changeset:7556/svn branch:6.0
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/itmill/toolkit/terminal/gwt/client/ui/INotification.java | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/INotification.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/INotification.java index 2064fac824..8df846cfea 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/INotification.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/INotification.java @@ -70,13 +70,15 @@ public class INotification extends IToolkitOverlay { public void startDelay() {
DOM.removeEventPreview(this);
if (delayMsec > 0) {
- delay = new Timer() {
- @Override
- public void run() {
- fade();
- }
- };
- delay.schedule(delayMsec);
+ if (delay == null) {
+ delay = new Timer() {
+ @Override
+ public void run() {
+ fade();
+ }
+ };
+ delay.schedule(delayMsec);
+ }
} else if (delayMsec == 0) {
fade();
}
|