X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fsenslabmap%2Fsenslabmap.py;fp=plugins%2Fsenslabmap%2Fsenslabmap.py;h=22c20601cb8192fc5c4fc7a0656f66ba0283b7eb;hb=0fdfcc89c940fb2b46d4a298b780bb382c3716c7;hp=73c767db568d986d313e09c0767e852a67d225db;hpb=d00975dcca68de422251ba4b787b51cbf43f9772;p=unfold.git diff --git a/plugins/senslabmap/senslabmap.py b/plugins/senslabmap/senslabmap.py index 73c767db..22c20601 100644 --- a/plugins/senslabmap/senslabmap.py +++ b/plugins/senslabmap/senslabmap.py @@ -5,9 +5,11 @@ class SensLabMap (Plugin): # set checkboxes if a final column with checkboxes is desired # pass columns as the initial set of columns # if None then this is taken from the query's fields - def __init__ (self, query, **settings): + def __init__ (self, query, query_all, **settings): Plugin.__init__ (self, **settings) - self.query=query + self.query = query + self.query_all = query_all + self.query_all_uuid = query_all.query_uuid def template_file (self): return "senslabmap.html" @@ -28,4 +30,4 @@ class SensLabMap (Plugin): return reqs # the list of things passed to the js plugin - def json_settings_list (self): return ['plugin_uuid','query_uuid'] + def json_settings_list (self): return ['plugin_uuid', 'dom_id', 'query_uuid', 'query_all_uuid']