]> source.dussan.org Git - vaadin-framework.git/commitdiff
Opera 9.27 showed tray-notification over whole window - fixed. Might affect #1802.
authorMarc Englund <marc.englund@itmill.com>
Wed, 11 Jun 2008 11:54:43 +0000 (11:54 +0000)
committerMarc Englund <marc.englund@itmill.com>
Wed, 11 Jun 2008 11:54:43 +0000 (11:54 +0000)
svn changeset:4858/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/client/ui/Notification.java

index c66f8a635c9c36c74d154cba79ea489870e744d1..42ce1ade1fc44cfa4d7a886c42b9743759afa4c1 100644 (file)
@@ -142,10 +142,10 @@ public class Notification extends ToolkitOverlay {
 \r
     public void setPosition(int position) {\r
         final Element el = getElement();\r
-        DOM.setStyleAttribute(el, "top", null);\r
-        DOM.setStyleAttribute(el, "left", null);\r
-        DOM.setStyleAttribute(el, "bottom", null);\r
-        DOM.setStyleAttribute(el, "right", null);\r
+        DOM.setStyleAttribute(el, "top", "");\r
+        DOM.setStyleAttribute(el, "left", "");\r
+        DOM.setStyleAttribute(el, "bottom", "");\r
+        DOM.setStyleAttribute(el, "right", "");\r
         switch (position) {\r
         case TOP_LEFT:\r
             DOM.setStyleAttribute(el, "top", "0px");\r
@@ -170,7 +170,7 @@ public class Notification extends ToolkitOverlay {
             break;\r
         case CENTERED_BOTTOM:\r
             center();\r
-            DOM.setStyleAttribute(el, "top", null);\r
+            DOM.setStyleAttribute(el, "top", "");\r
             DOM.setStyleAttribute(el, "bottom", "0px");\r
             break;\r
         default:\r