aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2016-08-08 14:33:24 +0300
committerArtur Signell <artur@vaadin.com>2016-08-08 12:05:41 +0000
commit8c558b9988160216b6942e3a5a2ba0455de57046 (patch)
tree3588038191e2546ce030591f8346084534fa3980 /client
parent7289ac7fe9734d39a866cb423a8d1671a2185ec1 (diff)
downloadvaadin-framework-8c558b9988160216b6942e3a5a2ba0455de57046.tar.gz
vaadin-framework-8c558b9988160216b6942e3a5a2ba0455de57046.zip
Rename field in VFilterSelect.DataReceivedHandler for clarity
Change-Id: Iaf951b0c50a124b5be377659eac4d3966f20b383
Diffstat (limited to 'client')
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VFilterSelect.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/VFilterSelect.java b/client/src/main/java/com/vaadin/client/ui/VFilterSelect.java
index 907532e55c..cbaefde22f 100644
--- a/client/src/main/java/com/vaadin/client/ui/VFilterSelect.java
+++ b/client/src/main/java/com/vaadin/client/ui/VFilterSelect.java
@@ -1403,7 +1403,7 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler,
* For internal use only. May be removed or replaced in the future.
*/
private boolean popupOpenerClicked = false;
- private boolean updateOnDataReceived = false;
+ private boolean performPostFilteringOnDataReceived = false;
/** For internal use only. May be removed or replaced in the future. */
private boolean waitingForFilteringResponse = false;
@@ -1421,8 +1421,8 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler,
navigateItemAfterPageChange();
}
- if (updateOnDataReceived) {
- updateOnDataReceived = false;
+ if (performPostFilteringOnDataReceived) {
+ performPostFilteringOnDataReceived = false;
suggestionPopup.menu.doPostFilterSelectedItemAction();
}
@@ -1490,7 +1490,7 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler,
* Cancel a pending request to perform post-filtering actions.
*/
private void cancelPendingPostFiltering() {
- updateOnDataReceived = false;
+ performPostFilteringOnDataReceived = false;
}
/**
@@ -1525,9 +1525,9 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler,
*/
private void doPostFilterWhenReady() {
if (isWaitingForFilteringResponse()) {
- updateOnDataReceived = true;
+ performPostFilteringOnDataReceived = true;
} else {
- updateOnDataReceived = false;
+ performPostFilteringOnDataReceived = false;
suggestionPopup.menu.doPostFilterSelectedItemAction();
}
}