Index: lams_central/conf/language/lams/ApplicationResources.properties
===================================================================
diff -u -r62d7d12f220dd25f8a9ddee2e594088f5cea6384 -r6c7122de5737ab054120c52ffc2fd174a55ed972
--- lams_central/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 62d7d12f220dd25f8a9ddee2e594088f5cea6384)
+++ lams_central/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 6c7122de5737ab054120c52ffc2fd174a55ed972)
@@ -544,6 +544,7 @@
authoring.fla.save.sequence.title.prompt =Please enter a title for the sequence
authoring.fla.import.part.choose.prompt =Click on activities to choose them for import
authoring.fla.folder.not.selected.error =Please choose a folder
+authoring.fla.folder.can.not.save.error =You can not save in this folder
authoring.fla.title.validation.error =The title can not contain any of these characters < > ^ * @ % $
authoring.fla.folder.exists.error =A folder with this name already exists.
authoring.fla.sequence.exists.error =A sequence with this name already exists.
Index: lams_central/web/authoring/authoring.jsp
===================================================================
diff -u -r6f86b355d9f96b5cf3b0a7e540ca0eea0d5c06c4 -r6c7122de5737ab054120c52ffc2fd174a55ed972
--- lams_central/web/authoring/authoring.jsp (.../authoring.jsp) (revision 6f86b355d9f96b5cf3b0a7e540ca0eea0d5c06c4)
+++ lams_central/web/authoring/authoring.jsp (.../authoring.jsp) (revision 6c7122de5737ab054120c52ffc2fd174a55ed972)
@@ -110,6 +110,8 @@
LIVEEDIT_CANCEL_CONFIRM : '',
FOLDER_NOT_SELECTED_ERROR : decoderDiv.html('').text(),
+
+ FOLDER_CAN_NOT_SAVE_ERROR : decoderDiv.html('').text(),
TITLE_VALIDATION_ERROR : decoderDiv.html('').text(),
Index: lams_central/web/includes/javascript/authoring/authoringGeneral.js
===================================================================
diff -u -r178f91f787e871aec26f8136c47f4def7ba942c2 -r6c7122de5737ab054120c52ffc2fd174a55ed972
--- lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision 178f91f787e871aec26f8136c47f4def7ba942c2)
+++ lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision 6c7122de5737ab054120c52ffc2fd174a55ed972)
@@ -559,6 +559,10 @@
if (node) {
// get folder from LD tree
folderNode = node.data.learningDesignId ? node.parent : node;
+ if (!folderNode.data.canSave) {
+ alert(LABELS.FOLDER_CAN_NOT_SAVE_ERROR);
+ return;
+ }
folderID = folderNode.data.folderID;
} else {
// get data from "recently used sequences" list
Index: lams_central/web/includes/javascript/authoring/authoringMenu.js
===================================================================
diff -u -r90d134e4f1b7d4ff2ba734e3841b64c34e973632 -r6c7122de5737ab054120c52ffc2fd174a55ed972
--- lams_central/web/includes/javascript/authoring/authoringMenu.js (.../authoringMenu.js) (revision 90d134e4f1b7d4ff2ba734e3841b64c34e973632)
+++ lams_central/web/includes/javascript/authoring/authoringMenu.js (.../authoringMenu.js) (revision 6c7122de5737ab054120c52ffc2fd174a55ed972)
@@ -374,7 +374,8 @@
'label' : this.isRunSequencesFolder ?
LABELS.RUN_SEQUENCES_FOLDER : this.name,
'folderID' : this.folderID,
- 'canModify' : this.canModify
+ 'canSave' : !this.isRunSequencesFolder,
+ 'canModify' : this.canModify
});
});
}