diff options
author | Teppo Kurki <teppo.kurki@vaadin.com> | 2015-05-26 15:57:16 +0300 |
---|---|---|
committer | Teppo Kurki <teppo.kurki@vaadin.com> | 2015-05-27 15:52:46 +0300 |
commit | feab1153761049b4f833174586d158bef22eb15c (patch) | |
tree | a6dd004c9b861500ca0cf13ec9746e0a5287bfc2 /server/src | |
parent | 469a53e1256f143f506f8a3b59ef7fc505353495 (diff) | |
download | vaadin-framework-feab1153761049b4f833174586d158bef22eb15c.tar.gz vaadin-framework-feab1153761049b4f833174586d158bef22eb15c.zip |
Let mouse click move editor in unbuffered mode
Change-Id: I90a01ee7877aec35835145fb8b9c2dd49899dc5a
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/com/vaadin/ui/Grid.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/Grid.java b/server/src/com/vaadin/ui/Grid.java index fc5adbbff0..43e82560df 100644 --- a/server/src/com/vaadin/ui/Grid.java +++ b/server/src/com/vaadin/ui/Grid.java @@ -3930,13 +3930,13 @@ public class Grid extends AbstractFocusable implements SelectionNotifier, boolean success = false; try { Object id = getContainerDataSource().getIdByIndex(rowIndex); - if (editedItemId == null) { + if (!isEditorBuffered() || editedItemId == null) { editedItemId = id; } if (editedItemId.equals(id)) { - success = true; doEditItem(); + success = true; } } catch (Exception e) { handleError(e); |