summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/RichTextArea.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/ui/RichTextArea.java')
-rw-r--r--server/src/com/vaadin/ui/RichTextArea.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/RichTextArea.java b/server/src/com/vaadin/ui/RichTextArea.java
index e954f78700..51caa82136 100644
--- a/server/src/com/vaadin/ui/RichTextArea.java
+++ b/server/src/com/vaadin/ui/RichTextArea.java
@@ -157,7 +157,7 @@ public class RichTextArea extends AbstractField<String> implements
*/
selectAll = true;
focus();
- requestRepaint();
+ markAsDirty();
}
@Override
@@ -183,7 +183,7 @@ public class RichTextArea extends AbstractField<String> implements
// If the modified status changes,
// repaint is needed after all.
if (wasModified != isModified()) {
- requestRepaint();
+ markAsDirty();
}
}
}