Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix form media for exercise edit
Roland Geidereaa1ba0d3d32
diff --git a/exercises/views.py b/exercises/views.pyindex b9d351424..3fbeadd19 100644--- a/exercises/views.py+++ b/exercises/views.py@@ -212,7 +212,7 @@ class ExercisesEditAddView(YamlFormMixin):model = Exerciseclass Media:- js = ('js/tinymce/tiny_mce.js')+ js = ('js/tinymce/tiny_mce.js',)return ExerciseFormdiff --git a/manager/static/js/workout-manager.js b/manager/static/js/workout-manager.jsindex 87deb4258..e126c964f 100644--- a/manager/static/js/workout-manager.js+++ b/manager/static/js/workout-manager.js@@ -198,7 +198,7 @@ function set_english_ingredients()/** Init calls for tinyMCE editor*/-function init_tinymce () {+function init_tinymce() {// Only try to init it on pages that loaded its JS file (so they probably need it)if (typeof tinyMCE != 'undefined')