Index: lams_central/web/includes/javascript/authoring/authoringActivity.js =================================================================== diff -u -r527f6618e7e2e01a4fbe155f19bda630be1afda2 -r6f765690f68ed125b45563796ce4501e2e002417 --- lams_central/web/includes/javascript/authoring/authoringActivity.js (.../authoringActivity.js) (revision 527f6618e7e2e01a4fbe155f19bda630be1afda2) +++ lams_central/web/includes/javascript/authoring/authoringActivity.js (.../authoringActivity.js) (revision 6f765690f68ed125b45563796ce4501e2e002417) @@ -1382,7 +1382,7 @@ */ removeSelectEffect : function(object) { // remove the effect from the given object or the selected one, whatever it is - if (!object || !object.items.selectEffect) { + if (!object) { object = layout.selectedObject; } Index: lams_central/web/includes/javascript/authoring/authoringGeneral.js =================================================================== diff -u -r2f6c67e31d0c35ddcfb8b4ae9f53d162c6472f4c -r6f765690f68ed125b45563796ce4501e2e002417 --- lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision 2f6c67e31d0c35ddcfb8b4ae9f53d162c6472f4c) +++ lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision 6f765690f68ed125b45563796ce4501e2e002417) @@ -619,7 +619,6 @@ */ 'buttonsSave' : sharedButtons.concat([ { - 'class' : 'defaultFocus', 'text' : LABELS.SAVE_BUTTON, 'id' : 'saveLdStoreButton', 'click' : function() { @@ -789,7 +788,6 @@ leftButtonContainer = $('
').attr('id','leftDialogButtonContainer'); $('input', nameContainer).val($(this).dialog('option', 'learningDesignTitle')); $(this).siblings('.ui-dialog-buttonpane').append(leftButtonContainer).append(nameContainer); - $('#ldStoreDialogNameField', nameContainer).focus(); $('.leftDialogButton') .attr('disabled', 'disabled') Index: lams_central/web/includes/javascript/authoring/authoringProperty.js =================================================================== diff -u -r527f6618e7e2e01a4fbe155f19bda630be1afda2 -r6f765690f68ed125b45563796ce4501e2e002417 --- lams_central/web/includes/javascript/authoring/authoringProperty.js (.../authoringProperty.js) (revision 527f6618e7e2e01a4fbe155f19bda630be1afda2) +++ lams_central/web/includes/javascript/authoring/authoringProperty.js (.../authoringProperty.js) (revision 6f765690f68ed125b45563796ce4501e2e002417) @@ -115,6 +115,7 @@ // if title changed, redraw branching and converge points if (redrawNeeded) { + ActivityLib.removeSelectEffect(layout.selectedObject); branchingActivity.start.draw(); branchingActivity.end.draw(); ActivityLib.addSelectEffect(layout.selectedObject, true); @@ -230,6 +231,7 @@ } if (redrawNeeded) { + ActivityLib.removeSelectEffect(activity); activity.draw(); ActivityLib.addSelectEffect(activity, true); } @@ -341,6 +343,7 @@ activity.viewLearners = $('.propertiesContentFieldViewLearners', content).is(':checked'); if (redrawNeeded) { + ActivityLib.removeSelectEffect(activity); activity.draw(); ActivityLib.addSelectEffect(activity, true); } @@ -416,6 +419,7 @@ } if (redrawNeeded) { + ActivityLib.removeSelectEffect(label); label.draw(); ActivityLib.addSelectEffect(label, true); GeneralLib.setModified(true); @@ -453,6 +457,7 @@ if (newTitle != activity.title) { if (GeneralLib.nameValidator.test(newTitle)) { activity.title = newTitle; + ActivityLib.removeSelectEffect(activity); activity.draw(); ActivityLib.addSelectEffect(activity, true); GeneralLib.setModified(true); @@ -536,6 +541,7 @@ } if (redrawNeeded) { + ActivityLib.removeSelectEffect(activity); activity.draw(); ActivityLib.addSelectEffect(activity, true); GeneralLib.setModified(true); @@ -594,6 +600,7 @@ redrawNeeded |= newColor != color; if (redrawNeeded) { + ActivityLib.removeSelectEffect(region); region.draw(null, null, null, null, newColor); ActivityLib.addSelectEffect(region, true); GeneralLib.setModified(true); @@ -659,6 +666,7 @@ } if (redrawNeeded) { + ActivityLib.removeSelectEffect(activity); activity.draw(); ActivityLib.addSelectEffect(activity, true); GeneralLib.setModified(true); @@ -724,6 +732,7 @@ } if (redrawNeeded) { + ActivityLib.removeSelectEffect(activity); transition.draw(); ActivityLib.addSelectEffect(activity, true); GeneralLib.setModified(true);