summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/src/com/vaadin/client/widgets/Grid.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/widgets/Grid.java b/client/src/com/vaadin/client/widgets/Grid.java
index 6457200dd2..f7bbcf8872 100644
--- a/client/src/com/vaadin/client/widgets/Grid.java
+++ b/client/src/com/vaadin/client/widgets/Grid.java
@@ -1488,6 +1488,13 @@ public class Grid<T> extends ResizeComposite implements
throw new IllegalStateException(
"Cannot edit row: editor is not enabled");
}
+
+ if (isWorkPending()) {
+ // Request pending a response, don't move try to start another
+ // request.
+ return;
+ }
+
if (state != State.INACTIVE && this.rowIndex != rowIndex) {
if (isBuffered()) {
throw new IllegalStateException(