Skip to content
Snippets Groups Projects
Commit 6277b24d authored by Silence's avatar Silence
Browse files

...

parent 4a1a5a4a
Branches
Tags
No related merge requests found
...@@ -132,6 +132,9 @@ $(function() { ...@@ -132,6 +132,9 @@ $(function() {
{ {
var thisObj = $(this); var thisObj = $(this);
var value = parseInt($(this).val()); var value = parseInt($(this).val());
if (value === LectionCount)
return;
$(this).prop('disabled', true); $(this).prop('disabled', true);
$.post( $.post(
URLdir + 'handler/map/ChangeDisciplineHours', URLdir + 'handler/map/ChangeDisciplineHours',
...@@ -160,14 +163,14 @@ $(function() { ...@@ -160,14 +163,14 @@ $(function() {
KeyDownOnlyNumber(event); KeyDownOnlyNumber(event);
}); });
;
// Изменение практических часов // Изменение практических часов
$('input.InputPracticeCount').focusout(function() $('input.InputPracticeCount').focusout(function()
{ {
var thisObj = $(this); var thisObj = $(this);
var value = parseInt($(this).val()); var value = parseInt($(this).val());
if (value === LectionCount)
return;
$(this).prop('disabled', true); $(this).prop('disabled', true);
$.post( $.post(
URLdir + 'handler/map/ChangeDisciplineHours', URLdir + 'handler/map/ChangeDisciplineHours',
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment