Skip to content
Snippets Groups Projects
Commit d783dae9 authored by srosse's avatar srosse
Browse files

OO-1068: fix a red screen if the extended search of question poll catch an...

OO-1068: fix a red screen if the extended search of question poll catch an event from the  controller with the table
parent 0435322a
No related branches found
No related tags found
No related merge requests found
...@@ -140,10 +140,11 @@ public class ExtendedSearchController extends FormBasicController implements Ext ...@@ -140,10 +140,11 @@ public class ExtendedSearchController extends FormBasicController implements Ext
} }
} else if(source instanceof FormLink) { } else if(source instanceof FormLink) {
FormLink button = (FormLink)source; FormLink button = (FormLink)source;
ConditionalQuery query = (ConditionalQuery)button.getUserObject();
if(button.getCmd().startsWith("add")) { if(button.getCmd().startsWith("add")) {
ConditionalQuery query = (ConditionalQuery)button.getUserObject();
addParameter(query); addParameter(query);
} else if(button.getCmd().startsWith("remove")) { } else if(button.getCmd().startsWith("remove")) {
ConditionalQuery query = (ConditionalQuery)button.getUserObject();
removeParameter(query); removeParameter(query);
} }
} }
......
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