Skip to content

Commit

Permalink
Qst: check block attribute for readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
sijualle committed Feb 15, 2025
1 parent b3ac6da commit 488e902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timApp/static/scripts/tim/plugin/qst/qst.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export class QstComponent
if (!this.pluginMeta.isPreview()) {
this.vctrl.addTimComponent(this);
}
if (this.attrsall.markup.invalid || this.attrsall.markup.readonly) {
if (this.attrsall.markup.invalid || this.readonly) {
this.enabled = false;
}
this.preview = makePreview(this.attrsall.markup, {
Expand Down

0 comments on commit 488e902

Please sign in to comment.