Project

General

Profile

Automatic expansion for the "Files" part in a wiki page

Added by Jean-Michel Bain about 3 years ago

As I prefer having "Files" expanded when I open a wiki page, I have added some extra code :

./public/javascripts/application.js

function setupAttachmentDetail() {
  setFilecontentContainerHeight();
  $(window).resize(setFilecontentContainerHeight);
  // add these two lines
  var fieldset = $('.icon-collapsed')[0];
  toggleFieldset(fieldset);
}

I did not find that feature in the Redmine configuration.
Published for your help if you like it...


Replies (1)

    (1-1/1)