|
|
@@ -40,7 +40,7 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#LessonTypeId').lrDataSourceSelect({ |
|
|
|
code: 'CdLessonType', value: 'ltid', text: 'lessontypename', select: function (item) { |
|
|
|
if (item != null && item != undefined) { |
|
|
|
if (item.lessontypename === "公开课") { |
|
|
|
if (item.lessontypename.indexOf('公开') || item.lessontypename.indexOf('公共')) { |
|
|
|
$("#TeachMajorNo").removeAttr("isvalid"); |
|
|
|
$("#TeachMajorNo").removeAttr("NotNull"); |
|
|
|
} else { |
|
|
|