X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Ftabs%2Ftabs.py;h=6da94da1a080254cc8c7ea9ba41829dd18e78bee;hb=4e348dd653e2f7124550f153a30744293eab3b2f;hp=0350c2649f8840fab5cff43c612bcf395030de4f;hpb=f7dabf619b72ce2c915174401adbbb85891f41d6;p=unfold.git diff --git a/plugins/tabs/tabs.py b/plugins/tabs/tabs.py index 0350c264..6da94da1 100644 --- a/plugins/tabs/tabs.py +++ b/plugins/tabs/tabs.py @@ -3,7 +3,7 @@ from unfold.composite import Composite class Tabs (Composite): def requirements (self): - return { 'js_files' : 'js/bootstrap.js', + return { 'js_files' : ['js/tabs.js', 'js/bootstrap.js'], 'css_files' : ['css/bootstrap.css', 'css/tabs.css', ] } @@ -12,3 +12,8 @@ class Tabs (Composite): # see Composite.py for the details of template_env, that exposes global # 'sons' as a list of sons with each a set of a few attributes + def json_settings_list (self): + return [] + + def export_json_settings(self): + return True