@@ -35,8 +44,8 @@
" method="post" enctype="multipart/form-data">
Index: lams_central/conf/language/lams/ApplicationResources.properties
===================================================================
diff -u -r63633604a4160c19caf0dff8351cb75cd968aa12 -r65af7e4e994ef7fd044c12ca992098f698b17ee9
--- lams_central/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 63633604a4160c19caf0dff8351cb75cd968aa12)
+++ lams_central/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 65af7e4e994ef7fd044c12ca992098f698b17ee9)
@@ -77,6 +77,7 @@
msg.status.finished =This lesson has been finished or archived.
msg.status.removed =This lesson has been removed.
title.import.instruction =Please choose LAMS sequence to import.
+title.import.error =Please choose file at first.
title.export.choose.format =Choose export content format
msg.export.choose.format.instruction =Please choose format which you want to export
msg.export.choose.format.lams =LAMS Format
Index: lams_central/conf/language/lams/ApplicationResources_en_AU.properties
===================================================================
diff -u -r63633604a4160c19caf0dff8351cb75cd968aa12 -r65af7e4e994ef7fd044c12ca992098f698b17ee9
--- lams_central/conf/language/lams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 63633604a4160c19caf0dff8351cb75cd968aa12)
+++ lams_central/conf/language/lams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 65af7e4e994ef7fd044c12ca992098f698b17ee9)
@@ -77,6 +77,7 @@
msg.status.finished =This lesson has been finished or archived.
msg.status.removed =This lesson has been removed.
title.import.instruction =Please choose LAMS sequence to import.
+title.import.error =Please choose file at first.
title.export.choose.format =Choose export content format
msg.export.choose.format.instruction =Please choose format which you want to export
msg.export.choose.format.lams =LAMS Format
Index: lams_central/conf/language/rams/ApplicationResources.properties
===================================================================
diff -u -r9b6a76a2d4c311fa258ec8d07d61277845d53ffa -r65af7e4e994ef7fd044c12ca992098f698b17ee9
--- lams_central/conf/language/rams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 9b6a76a2d4c311fa258ec8d07d61277845d53ffa)
+++ lams_central/conf/language/rams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 65af7e4e994ef7fd044c12ca992098f698b17ee9)
@@ -95,6 +95,7 @@
title.import.result =Import tool content result
title.import =Import tool content
title.import.instruction =Please choose RAMS workflow to import.
+title.import.error =Please choose file at first.
title.export.loading =Export tool content loading
label.ld.zip.file =Design import file
msg.import.success =Design and activities imported successfully.
Index: lams_central/conf/language/rams/ApplicationResources_en_AU.properties
===================================================================
diff -u -r9b6a76a2d4c311fa258ec8d07d61277845d53ffa -r65af7e4e994ef7fd044c12ca992098f698b17ee9
--- lams_central/conf/language/rams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 9b6a76a2d4c311fa258ec8d07d61277845d53ffa)
+++ lams_central/conf/language/rams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 65af7e4e994ef7fd044c12ca992098f698b17ee9)
@@ -95,6 +95,7 @@
title.import.result =Import tool content result
title.import =Import tool content
title.import.instruction =Please choose RAMS workflow to import.
+title.import.error =Please choose file at first.
title.export.loading =Export tool content loading
label.ld.zip.file =Design import file
msg.import.success =Design and activities imported successfully.
Index: lams_central/web/toolcontent/import.jsp
===================================================================
diff -u -r64938df458cbab9999f9a826ef2902d061648d7d -r65af7e4e994ef7fd044c12ca992098f698b17ee9
--- lams_central/web/toolcontent/import.jsp (.../import.jsp) (revision 64938df458cbab9999f9a826ef2902d061648d7d)
+++ lams_central/web/toolcontent/import.jsp (.../import.jsp) (revision 65af7e4e994ef7fd044c12ca992098f698b17ee9)
@@ -13,11 +13,20 @@
function closeWin(){
window.close();
}
+
+ function verifyFilenameLength() {
+ if (document.getElementById("UPLOAD_FILE").value.length == 0) {
+ var msg = "