changeset c553b983d10a in sao:5.6 details: https://hg.tryton.org/sao?cmd=changeset;node=c553b983d10a description: Only toggle csv parameters when clicking on it's label
issue9372 review305731002 (grafted from 297c4f453043a10ab941f94b4d20103127d94032) diffstat: src/window.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diffs (22 lines): diff -r e5f5ebf1b321 -r c553b983d10a src/window.js --- a/src/window.js Tue Jun 16 19:13:25 2020 +0200 +++ b/src/window.js Wed Jun 17 13:51:41 2020 +0200 @@ -1010,14 +1010,14 @@ }).appendTo(this.dialog.body); var row_csv_param = jQuery('<div/>', { - }).on('click', function(){ - this.expander_csv.collapse('toggle'); - }.bind(this)).appendTo(this.dialog.body); + }).appendTo(this.dialog.body); var csv_param_label = jQuery('<label/>', { 'text': Sao.i18n.gettext('CSV Parameters') }).css('cursor', 'pointer') - .appendTo(row_csv_param); + .on('click', function(){ + this.expander_csv.collapse('toggle'); + }.bind(this)).appendTo(row_csv_param); var expander_icon = jQuery('<span/>', { 'class': 'caret',