Projet

Général

Profil

0001-misc-fix-add-row-javascript-handling-for-multiline-t.patch

Frédéric Péters, 27 mai 2015 11:48

Télécharger (1005 octets)

Voir les différences:

Subject: [PATCH] misc: fix "add row" javascript handling for multiline tables
 (#7374)

 wcs/qommon/static/js/widget_list.js | 3 +++
 1 file changed, 3 insertions(+)
wcs/qommon/static/js/widget_list.js
10 10
                if (row.tagName == 'BR') {
11 11
                    row = $(row).prev()[0];
12 12
                }
13
                if (row.tagName == 'TABLE') {
14
                    row = $(row).find('tr:last');
15
                }
13 16

  
14 17
                if ($(row).find('input[name$=add_element]').length > 0) {
15 18
                    /* this has several levels of widget lists, don't use
16
-