diff --git a/~dev_rating/media/js/discipline/EditSettings.js b/~dev_rating/media/js/discipline/EditSettings.js
index 3bd37aa96e6c3998b50ff225dbaf6d35170950df..a4342a9355e9a9767b8299585b2b627d18e6e0a9 100644
--- a/~dev_rating/media/js/discipline/EditSettings.js
+++ b/~dev_rating/media/js/discipline/EditSettings.js
@@ -155,7 +155,13 @@ $(function() {
 				thisObj.removeAttr('disabled');
 			}
 		);
-	});
+	})
+	.keydown(function(event) {
+		KeyDownOnlyNumber(event);
+    });
+
+
+	;
 	
 	// Изменение практических часов
 	$('input.InputPracticeCount').focusout(function()
@@ -185,6 +191,9 @@ $(function() {
 				thisObj.removeAttr('disabled');
 			}
 		);
-	});
+	})
+	.keydown(function(event) {
+		KeyDownOnlyNumber(event);
+    });
 	
 });
\ No newline at end of file