Updated Assessment builder debugging
This commit is contained in:
parent
3fbfe4f84a
commit
2598f90817
1 changed files with 4 additions and 3 deletions
|
|
@ -356,10 +356,11 @@ jQuery(document).ready(function($) {
|
|||
// Remove placeholder if it exists
|
||||
$currentList.find('p').remove();
|
||||
|
||||
// Update state and UI (The 'update' event below will handle state and cost)
|
||||
// updateStateFromDOM(); // Let the 'update' event handle this
|
||||
// updateTotalCost(); // Let the 'update' event handle this
|
||||
// Update state and UI
|
||||
updateLibraryButtons(); // Disable the 'Add' button in the library immediately
|
||||
// Explicitly update state and cost *after* DOM manipulation in receive
|
||||
updateStateFromDOM();
|
||||
updateTotalCost();
|
||||
}
|
||||
}).disableSelection(); // Prevent text selection while dragging
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue