Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Show the modal dialog for editing forms at the top

Roland Geiderbebb1223dc0e
diff --git a/manager/static/js/workout-manager.js b/manager/static/js/workout-manager.js
index e83c7e9bb..5a8151111 100644
--- a/manager/static/js/workout-manager.js
+++ b/manager/static/js/workout-manager.js
@@ -150,7 +150,7 @@ function setup_inplace_editing()
*/
function init_tinymce () {
- // Only try to init it on pages that loaded it (so they probably need it)
+ // Only try to init it on pages that loaded its JS file (so they probably need it)
if (typeof tinyMCE != 'undefined')
{
tinyMCE.init({
@@ -172,6 +172,7 @@ function form_modal_dialog()
autoOpen: false,
width: 600,
modal: true,
+ position: 'top'
});