Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Unreleased
-------------------------

* [Bug fix] Rename the CSS class for labs from `hastexblock` to `stackamolexblock`, post the XBlock rename.

Version 9.0.0 (2026-05-13)
-------------------------

Expand Down
6 changes: 3 additions & 3 deletions stackamole/public/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function StackamoleXBlock(runtime, element, configuration) {
}

/* Set dialog container. */
dialog_container = $(element).find('.hastexblock')[0];
dialog_container = $(element).find('.stackamolexblock')[0];

/* Bind reset button action. */
$(element).find('.buttons.bar > .reset').on('click', reset_dialog);
Expand Down Expand Up @@ -206,7 +206,7 @@ function StackamoleXBlock(runtime, element, configuration) {
/* Consider the terminal parent as the parent of our layout objects */
layout_parent = terminal_parent
lab_instructions = $('.lab_instructions')
terminal = $('.hastexblock')
terminal = $('.stackamolexblock')
}
else {
/* find the vertical element that contains the lab instructions */
Expand All @@ -218,7 +218,7 @@ function StackamoleXBlock(runtime, element, configuration) {
$('#container').addClass('terminal-side-view');
$(layout_parent).addClass('content-side-by-side');
/* Make sure the xblock fits to content area */
$(layout_parent).height($('.hastexblock').height() + 20);
$(layout_parent).height($('.stackamolexblock').height() + 20);

$(lab_instructions).css({
'float': [instructions_layout],
Expand Down
2 changes: 1 addition & 1 deletion stackamole/static/html/main.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% load i18n %}

{{child_content|safe}}
<div class="hastexblock"><!-- Don't use underscores in this div's class, as doing so breaks the dialog overlay. -->
<div class="stackamolexblock"><!-- Don't use underscores in this div's class, as doing so breaks the dialog overlay. -->
<div id="container">
<div id="terminal"></div>
</div>
Expand Down
Loading