Skip to content

Commit

Permalink
Ticket #4840 - HTML editor is mixed up in Studio -> Protean / Lucid -…
Browse files Browse the repository at this point in the history
…> Custom Styles.
  • Loading branch information
AntonLV committed Nov 13, 2024
1 parent 817cbe5 commit c3df190
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions studio/js/design.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ function BxDolStudioDesign(oOptions) {
$this.initCodeMirror($this.sCodeMirror);
});

var oCollapsable = $('#adm-settings-form .bx-form-collapsable');
oCollapsable.on('bx_show', function() {
$this.refreshCodeMirror();
});
if($this.sCodeMirror != '')
$('#adm-settings-form-categorized .bx-form-collapsable').on('bx_show', function() {
$this.refreshCodeMirror();
});
}

BxDolStudioDesign.prototype = Object.create(BxDolStudioModule.prototype);
Expand Down

0 comments on commit c3df190

Please sign in to comment.