Skip to content
Snippets Groups Projects
Commit ea2a2938 authored by tpylak's avatar tpylak
Browse files

LMS-1253 do not allow the filter toolbar to refresh the whole grid if there is...

LMS-1253 do not allow the filter toolbar to refresh the whole grid if there is already an unfinished refresh

SVN: 13314
parent 99f1afdb
No related branches found
No related tags found
No related merge requests found
...@@ -347,7 +347,7 @@ public abstract class AbstractBrowserGrid<T/* Entity */, M extends BaseEntityMod ...@@ -347,7 +347,7 @@ public abstract class AbstractBrowserGrid<T/* Entity */, M extends BaseEntityMod
{ {
public void execute() public void execute()
{ {
if (resultSetKeyOrNull != null) if (resultSetKeyOrNull != null && pendingFetchConfigOrNull == null)
{ {
// TODO 2009-09-16, Piotr Buczek: reload of data is not needed in some cases // TODO 2009-09-16, Piotr Buczek: reload of data is not needed in some cases
// - when filters with no text are removed, // - when filters with no text are removed,
...@@ -1038,7 +1038,7 @@ public abstract class AbstractBrowserGrid<T/* Entity */, M extends BaseEntityMod ...@@ -1038,7 +1038,7 @@ public abstract class AbstractBrowserGrid<T/* Entity */, M extends BaseEntityMod
{ {
if (pendingFetchConfigOrNull != null) if (pendingFetchConfigOrNull != null)
{ {
System.err.println("Cannot reload the data with the mode '" + resultSetFetchConfig debug("Cannot reload the data with the mode '" + resultSetFetchConfig
+ "', there is an unfinished request already: " + pendingFetchConfigOrNull); + "', there is an unfinished request already: " + pendingFetchConfigOrNull);
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment