Index: lams_central/web/includes/javascript/authoring/authoringGeneral.js =================================================================== diff -u -r770004eb10d23298f103767a30bae3175b43e2e3 -r445e72a02a97730a82c5db8c690b2618c378d412 --- lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision 770004eb10d23298f103767a30bae3175b43e2e3) +++ lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision 445e72a02a97730a82c5db8c690b2618c378d412) @@ -1803,9 +1803,9 @@ $('#ldDescriptionLicenseSelect').val(ld.licenseID || 0).change(); $('#ldDescriptionLicenseText').text(ld.licenseText || null); } - - // always arrange activities when SVG gets recreated - var arrangeNeeded = isReadOnlyMode, + + // always arrange activities when SVG gets recreated or it is old authoring version + var arrangeNeeded = isReadOnlyMode || +response.ld.version < 4.5, // if system gate is found, it is Live Edit systemGate = null, // should we allow the author to enter activity authoring Fisheye: Tag 445e72a02a97730a82c5db8c690b2618c378d412 refers to a dead (removed) revision in file `lams_common/src/java/org/lamsfoundation/lams/dbupdates/patch20210615.sql'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_common/src/java/org/lamsfoundation/lams/dbupdates/patch20210709.sql =================================================================== diff -u --- lams_common/src/java/org/lamsfoundation/lams/dbupdates/patch20210709.sql (revision 0) +++ lams_common/src/java/org/lamsfoundation/lams/dbupdates/patch20210709.sql (revision 445e72a02a97730a82c5db8c690b2618c378d412) @@ -0,0 +1,18 @@ +-- Turn off autocommit, so nothing is committed if there is an error +SET AUTOCOMMIT = 0; +SET FOREIGN_KEY_CHECKS=0; +-- Put all sql statements below here + +--LDEV-5200 Remove learning library groups feature +DROP TABLE IF EXISTS lams_learning_library_group; + +-- Update server version so authoring auto rearrange can kick in + +UPDATE lams_configuration SET config_value = '4.5' WHERE config_key = 'ServerVersionNumber'; + +-- Put all sql statements above here + +-- If there were no errors, commit and restore autocommit to on +COMMIT; +SET AUTOCOMMIT = 1; +SET FOREIGN_KEY_CHECKS=1;