X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=unfold%2Fplugin.py;fp=unfold%2Fplugin.py;h=8dd03bb600cbe82aed3fac8950ee85208d81a0b4;hp=61af0e078d7732a87db44441a7e77f97bafa417b;hb=2a5654f70a3fdb0ca45382619098a5bea8913bf0;hpb=6e286d340b35106b65a543ecd1a3c8086953f50e diff --git a/unfold/plugin.py b/unfold/plugin.py index 61af0e07..8dd03bb6 100644 --- a/unfold/plugin.py +++ b/unfold/plugin.py @@ -163,10 +163,6 @@ class Plugin: def export_json_settings (self): return 'query_uuid' in self.json_settings_list() - # by default we create a timer if there's a query attached, redefine to change this behaviour - def start_with_spin (self): - return self.export_json_settings() - # returns the html code for that plugin # in essence, wraps the results of self.render_content () def render (self, request): @@ -175,8 +171,6 @@ class Plugin: # shove this into plugin.html env = {} env ['plugin_content']= plugin_content - # need_spin is used in plugin.html - self.need_spin=self.start_with_spin() env.update(self.__dict__) # translate high-level 'toggled' into 4 different booleans self.need_toggle = False @@ -312,6 +306,3 @@ class Plugin: # # whether we export the json settings to js # def export_json_settings (self) - # - # whether we show an initial spinner - # def start_with_spin (self)