Index: lams_central/web/includes/javascript/authoring/authoringActivity.js =================================================================== diff -u -re8dd761edc867d6ea9f14d277bf73f13fc7a09f4 -re7040e79289ad35781781fb6d5058a307e35a11b --- lams_central/web/includes/javascript/authoring/authoringActivity.js (.../authoringActivity.js) (revision e8dd761edc867d6ea9f14d277bf73f13fc7a09f4) +++ lams_central/web/includes/javascript/authoring/authoringActivity.js (.../authoringActivity.js) (revision e7040e79289ad35781781fb6d5058a307e35a11b) @@ -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 -rd3b4ae35d37206b31ca462b0a9411e45e28ce5ec -re7040e79289ad35781781fb6d5058a307e35a11b --- lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision d3b4ae35d37206b31ca462b0a9411e45e28ce5ec) +++ lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision e7040e79289ad35781781fb6d5058a307e35a11b) @@ -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 -re8dd761edc867d6ea9f14d277bf73f13fc7a09f4 -re7040e79289ad35781781fb6d5058a307e35a11b --- lams_central/web/includes/javascript/authoring/authoringProperty.js (.../authoringProperty.js) (revision e8dd761edc867d6ea9f14d277bf73f13fc7a09f4) +++ lams_central/web/includes/javascript/authoring/authoringProperty.js (.../authoringProperty.js) (revision e7040e79289ad35781781fb6d5058a307e35a11b) @@ -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);