Projet

Général

Profil

0001-misc-make-click-on-cell-picture-un-fold-cell-32357.patch

Frédéric Péters, 16 avril 2019 08:57

Télécharger (1,02 ko)

Voir les différences:

Subject: [PATCH] misc: make click on cell picture (un)fold cell (#32357)

 combo/public/static/js/combo.public.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
combo/public/static/js/combo.public.js
209 209
    $(checkboxes[checkboxes.length-1]).parents('tr').next().find('td:nth-child(' + (column_index+1) + ')').addClass('clickable');
210 210
  }
211 211

  
212
  $('body').on('click', 'div.cell.foldable > div > h2:first-child', function() {
212
  $('body').on('click', 'div.cell.foldable > div > h2:first-child, div.cell.foldable > div > picture', function() {
213 213
      $(this).parents('div.foldable').toggleClass('folded');
214 214
      return false;
215 215
  });
216
-