diff --git a/sao/src/window.js b/sao/src/window.js index d7e1d81dbd..dfd869f345 100644 --- a/sao/src/window.js +++ b/sao/src/window.js @@ -179,8 +179,7 @@ } }); - var readonly = (this.screen.attributes.readonly || - this.screen.group.readonly); + var readonly = this.screen.readonly || this.screen.group.readonly; this.but_ok = null; this.but_new = null; @@ -223,7 +222,7 @@ })); } - if (this.save_current) { + if (this.save_current && !readonly) { this.but_ok = jQuery('