Projet

Général

Profil

0002-js-only-send-click-event-to-appropriate-button-18894.patch

Frédéric Péters, 22 septembre 2017 11:05

Télécharger (995 octets)

Voir les différences:

Subject: [PATCH 2/3] js: only send "click" event to appropriate button
 (#18894)

 gadjo/static/js/gadjo.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
gadjo/static/js/gadjo.js
202 202
                                    }).fail(function() { $anchor.trigger('gadjo:dialog-submit-error');
203 203
                                    });
204 204
                                } else {
205
                                    $content.find('button').click();
205
                                    $elem.click();
206 206
                                }
207 207
                                return false;
208 208
                            };
209
-