diff --git a/addon/card_type.py b/addon/card_type.py index 5729ffb..07f3b13 100644 --- a/addon/card_type.py +++ b/addon/card_type.py @@ -131,6 +131,7 @@ def field_exists(name): dmak_js = "\n\n" raphael_js = "\n\n" japanese_util_js = "\n\n" + launch_back_js = f"" # Set template html template["qfmt"] = ( @@ -143,8 +144,9 @@ def field_exists(name): dmak_js + raphael_js + japanese_util_js + + read_web_file_with_includes(f"back-{self.label}.html") + common_back_js + - read_web_file_with_includes(f"back-{self.label}.html") + launch_back_js ) aqt.mw.col.models.save(model) diff --git a/addon/lookup_window.py b/addon/lookup_window.py index c83cb23..26aebe7 100644 --- a/addon/lookup_window.py +++ b/addon/lookup_window.py @@ -137,8 +137,8 @@ def __init__(self, parent=None): + style_class + '">' + settings_html - + common_back + body_html + + common_back + set_keys_html + "" ) diff --git a/addon/web/back-production.html b/addon/web/back-production.html index 98b5181..51f0e19 100644 --- a/addon/web/back-production.html +++ b/addon/web/back-production.html @@ -166,8 +166,6 @@

diff --git a/addon/web/back-recognition.html b/addon/web/back-recognition.html index d217e36..47c8f00 100644 --- a/addon/web/back-recognition.html +++ b/addon/web/back-recognition.html @@ -162,8 +162,6 @@