Skip to content

Commit

Permalink
Fix language options button in wizard
Browse files Browse the repository at this point in the history
 - Hide checkbox if the current page does not have language options
  • Loading branch information
torinfo committed Apr 30, 2023
1 parent 9fe481a commit 3b8b5ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions editor/js/tree.js
Expand Up @@ -1105,6 +1105,11 @@ var EDITOR = (function ($, parent) {
$('#language_cb').removeAttr("disabled");
$('#language_cb').prop('checked', defaultLanguage);
}
else
{
$('#language_cb_span').switchClass("enabled", "disabled");
$('#language_cb').prop("disabled", true);
}
}

// Extra insert buttons
Expand Down

0 comments on commit 3b8b5ec

Please sign in to comment.