diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js index 409c5ff0e..a0a1b37ac 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js @@ -182,7 +182,7 @@ var bootstrap = function ($, learun) { $('#RecruitObject').lrDataItemSelect({ code: 'RecruitObject' }); $('#RecruitWay').lrDataItemSelect({ code: 'RecruitWay' }); $('#RecruitCooperateType').lrDataItemSelect({ code: 'RecruitCooperateType' }); - $('#StuOrigin').lrDataItemSelect({ code: 'AdmissionsDataSource' }); + $('#StuOrigin').lrDataItemSelect({ code: 'StuOrigin' }); $('#EntranceWay').lrDataItemSelect({ code: 'EntranceWay' }); $('#RecruitCooperateForm').lrDataItemSelect({ code: 'RecruitCooperateForm' }); $('#MajorDetailNo').lrDataItemSelect({ code: 'MajorDetail' }); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/AnnexesController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/AnnexesController.cs index 6b3f94a69..f82ee1ab0 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/AnnexesController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/AnnexesController.cs @@ -222,7 +222,7 @@ namespace Learun.Application.Web.Areas.LR_SystemModule.Controllers } } Response.ClearContent(); - switch (data.F_FileType) + switch (data.F_FileType.ToLower()) { case "jpg": Response.ContentType = "image/jpeg";