summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorTeppo Kurki <teppo.kurki@vaadin.com>2015-06-08 23:49:16 +0300
committerVaadin Code Review <review@vaadin.com>2015-06-09 08:25:42 +0000
commita1c8305412cfc52a67c9ab80703ddb064104a858 (patch)
tree63c469586717028153175af7aa5684f35685a82d /client
parent94a943baaef07fd5a9d2e7a5b317ffcc297a1f10 (diff)
downloadvaadin-framework-a1c8305412cfc52a67c9ab80703ddb064104a858.tar.gz
vaadin-framework-a1c8305412cfc52a67c9ab80703ddb064104a858.zip
Rename grid sidebar 'opened' style to 'open' (#18120)
Change-Id: Ifbd791c45bf0a4b62e6e73195c73c4f0f3bddad0
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/widgets/Grid.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/com/vaadin/client/widgets/Grid.java b/client/src/com/vaadin/client/widgets/Grid.java
index dbf7f98e37..bf0ab5a83b 100644
--- a/client/src/com/vaadin/client/widgets/Grid.java
+++ b/client/src/com/vaadin/client/widgets/Grid.java
@@ -3175,7 +3175,7 @@ public class Grid<T> extends ResizeComposite implements
*/
public void open() {
if (!isOpen() && isInDOM()) {
- addStyleName("opened");
+ addStyleName("open");
removeStyleName("closed");
rootContainer.add(content);
clickOutsideToCloseHandlerRegistration = Event
@@ -3189,7 +3189,7 @@ public class Grid<T> extends ResizeComposite implements
*/
public void close() {
if (isOpen()) {
- removeStyleName("opened");
+ removeStyleName("open");
addStyleName("closed");
content.removeFromParent();
// adjust open button to header height when closed