changeset f67ca9159976 in sao:default details: https://hg.tryton.org/sao?cmd=changeset&node=f67ca9159976 description: Set disabled attribute on buttons of readonly image
issue11505 diffstat: src/view/form.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14 lines): diff -r 00b685811e6d -r f67ca9159976 src/view/form.js --- a/src/view/form.js Thu May 19 22:18:45 2022 +0200 +++ b/src/view/form.js Fri May 20 08:23:19 2022 +0200 @@ -4300,8 +4300,8 @@ }, set_readonly: function(readonly) { Sao.View.Form.Image._super.set_readonly.call(this, readonly); - this.but_select.prop('disable', readonly); - this.but_clear.prop('disable', readonly); + this.but_select.prop('disabled', readonly); + this.but_clear.prop('disabled', readonly); }, clear: function() { Sao.View.Form.Image._super.clear.call(this);