Skip to content
Snippets Groups Projects
Commit 9d6d3284 authored by Anton's avatar Anton
Browse files

fix

убрал ограничение 100 баллов (позже верну)
parent 0715b1fd
Branches
Tags
No related merge requests found
......@@ -33,7 +33,7 @@
<div class="title">Предмет:</div>
<div class="field">
<select class="SelectSubject default_select">
<option value="0">-Не выбран-</option>
<option>-Не выбран-</option>
{% for Subject in SubjectsList %}
<option value="{{ Subject.ID }}" {% if Discipline.SubjectID == Subject.ID %}selected{% endif %}>{{ Subject.Title }}</option>
{% endfor %}
......@@ -46,7 +46,7 @@
<div class="title">Курс:</div>
<div class="field">
<select class="SelectGrade default_select">
<option value="0">-Не выбран-</option>
<option>-Не выбран-</option>
{% for Grade in GradesList %}
<option value="{{ Grade.ID }}" {% if Grade.ID == Discipline.GradeID %}selected{% endif %}>{{ Grade.Title }}</option>
{% endfor %}
......
......@@ -107,6 +107,7 @@ $(function() {
if (thisObj.val() != '')
NewMaxRate = parseInt(thisObj.val());
/*
// Ограничение 100 баллов
var currentControl = 0;
$('.moduleHead .currentControl').each(function(){
......@@ -126,6 +127,7 @@ $(function() {
thisObj.val(OldMaxRate);
return 0;
}
*/
// Меняем max балл
if (NewMaxRate != OldMaxRate) {
......
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