Forums » Development »
toggleFieldset(this) not working on some options.
Added by william BENHARBONE about 2 months ago
Environment:
  Redmine version                6.0.6.stable
  Ruby version                   3.3.8-p144 (2025-04-09) [x86_64-linux-gnu]
  Rails version                  7.2.2.2
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
Redmine settings:
  Redmine theme                  Default
SCM:
  Git                            2.47.3
  Filesystem
can't toggle parts under https://mysite/memberships/xxx/edit
Replies (3)
    
    RE: toggleFieldset(this) not working on some options.
    -
    Added by Marius BĂLTEANU about 2 months ago
  
  I think something is not right with your installation.
Can you try running the command bundle exec rake assets:clobber RAILS_ENV="production" and then restart your Redmine service to run the automatic assets pre-compilation or run bundle exec rake assets:precompile RAILS_ENV="production" to force the pre-compilation?
    
    RE: toggleFieldset(this) not working on some options.
    -
    Added by william BENHARBONE about 2 months ago
  
  Some folders containing the javascript scripts are not present in the deployment in the new version of redmine 6.0.6.
Copying missing jquery (javascript folders) solved the problem.
find -iname jquery-3.7.1-ui-1.13.3.js
rsync -Pavz javascripts/ ../../public/assets/
    
    RE: toggleFieldset(this) not working on some options.
    -
    Added by Marius BĂLTEANU about 2 months ago
  
  It's not a good fix to manually copy the assets to public/assets. Starting with Redmine 6, the assets are provided through the asset pipeline (Propshaft), please see #39111. My recommendation is to use the above commands to properly fix your assets.