changeset 7bdb2d1cf818 in sao:6.2
details: https://hg.tryton.org/sao?cmd=changeset&node=7bdb2d1cf818
description:
Set disabled attribute on buttons of readonly image
issue11505
(grafted from f67ca9159976c52b4f8562f3294b85616e820f2b)
diffstat:
src/view/form.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r e182df2dddf7 -r 7bdb2d1cf818 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
@@ -4285,8 +4285,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);