diff --git a/~dev_rating/media/js/discipline/CreateDiscipline.js b/~dev_rating/media/js/discipline/CreateDiscipline.js
index b1e971ed149262f5957e1b7ec5b5dfce2c2f5151..a8137ea8c7f46d9a54caaae88e0a4808ab0e9f7a 100644
--- a/~dev_rating/media/js/discipline/CreateDiscipline.js
+++ b/~dev_rating/media/js/discipline/CreateDiscipline.js
@@ -5,17 +5,17 @@ $(function() {
     $(".AddDiscipline").click(function(){
     	$(this).attr("disabled", true);
     	var main = $(".main_content");
-		var BonusRate = main.find(".BonusRate").prop("checked");
+		var BonusRate = main.find(".BonusRate").first().prop("checked");
 		$.post(
 			URLdir + 'handler/map/AddDiscipline',
 			{
-				'Grade': main.find('.SelectGrade').val(),
-				'SubjectID': main.find('.SelectSubject').val(),
+				'Grade': main.find('.SelectGrade').first().val(),
+				'SubjectID': main.find('.SelectSubject').first().val(),
 				'BonusRate': BonusRate,
-				'ExamType': main.find('input:radio[name=ExamType]:checked').val(),
-				'LectionCount': main.find('.InputLectionCount').val(),
-				'PracticeCount': main.find('.InputPracticeCount').val(),
-				'FacultyID': main.find('.SelectFaculty').val()
+				'ExamType': main.find('input:radio[name=ExamType]:checked').first().val(),
+				'LectionCount': main.find('.InputLectionCount').first().val(),
+				'PracticeCount': main.find('.InputPracticeCount').first().val(),
+				'FacultyID': main.find('.SelectFaculty').first().val()
 			},
 			function(data){
 				data = $.parseJSON(data);
diff --git a/~dev_rating/media/js/discipline/EditStudents.js b/~dev_rating/media/js/discipline/EditStudents.js
index 84d4297769003c7b1d3cc50680275b733993b9bd..f07ee30fd9ed72fb501bdabfa75843861b5dc9fa 100644
--- a/~dev_rating/media/js/discipline/EditStudents.js
+++ b/~dev_rating/media/js/discipline/EditStudents.js
@@ -76,7 +76,7 @@ $('.SelectGrade').change(function(){
 		URLdir + 'handler/map/GetStudyGroups',
 		{
 			'FacultyID': FacultyID,
-			'GradeID': $('.SelectGrade').val()
+			'GradeID': $(this).val()
 		},
 		function(data){
 			data = $.parseJSON(data);
@@ -101,16 +101,18 @@ $('.InputStudentName').focusout(function(){
 });
 $('.InputStudentName').keydown(function(e){
 	if(e.keyCode==13){
-		$('.InputStudentName').focusout('focusout');
+		$(this).focusout('focusout');
 		$(this).blur();
 	}
 });
 
 $('.SelectGrade').focusout(function(){
-	$('.SelectGrade').trigger('change');
+	$(this).trigger('change');
 });
+
+
 $('.SelectStudyGroup').focusout(function(){
-	$('.SelectStudyGroup').trigger('change');
+	$(this).trigger('change');
 });
 
 // Если студент из поиска
diff --git a/~dev_rating/media/js/discipline/general.js b/~dev_rating/media/js/discipline/general.js
index af926e312f012060e4c65b6b109b2a6250e2cc09..8a32a96ab80db8a85007df94b04aab31e9fc0f7f 100644
--- a/~dev_rating/media/js/discipline/general.js
+++ b/~dev_rating/media/js/discipline/general.js
@@ -111,12 +111,11 @@ $(function() {
 	
 
 	{
-		var jTemp = $('.HiddenInputFacultyID');
+		var jTemp = $('.HiddenInputFacultyID').first();
 		if (jTemp) {
 			FacultyID = jTemp.val(); // Факультет, к которой привязана дисциплина
 			jTemp.remove(); // Тут даже Шерлок Холмс бессилен
 		}
-
 	}
 
 })
\ No newline at end of file