Patch #32381

Wiki preview : manage dynamic content

Added by Jérôme BATAILLE about 3 years ago. Updated 5 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-



  • In public/javascripts/application.js
    The wiki toolbar preview event is written like this :
    $('#content').on('click', 'div.jstTabs', function(event){
  • If we re-write it like this, dynamic added wiki content preview (like the one in modal windows) will work :
  $('body').on('click', '#content.scrum div.jstTabs', function(event){


#1 Updated by Jérôme BATAILLE about 3 years ago

Sorry, wrong syntax in description

  • original javascript :
  $('#content').on('click', 'div.jstTabs', function(event){
  • Enhancement :
  $('body').on('click', '#content div.jstTabs', function(event){

#2 Updated by Jérôme BATAILLE about 3 years ago

It is useful in plugins that have dynamic popups like popup windows.

Thanks a lot in advance to study this simple enhancement.

#3 Updated by Go MAEDA 5 months ago

  • Description updated (diff)

Also available in: Atom PDF