Skip to content
Snippets Groups Projects
Commit ce474b8c authored by PavelBegunkov's avatar PavelBegunkov
Browse files
parents dacd667c 50a79928
No related merge requests found
......@@ -97,7 +97,7 @@
<td class="row_{{ row }} student" id="{{ student.StudentID }}">{{ student.LastName }} {{ student.FirstName }}</td>
{% for i in 1..CellCount %}
{% set RateResult = RateResult + student[i].Rate %}
<td class="row_{{ row }} col_{{ i }} rateCell"><input value="{{ student[i].Rate }}"></td>
<td class="row_{{ row }} col_{{ i }} rateCell"><input type="text" value="{{ student[i].Rate }}"></td>
{% endfor %}
<td class="row_{{ row }} col_{{ i + 1 }} RateResult">{{ RateResult }}</td>
</tr>
......
......@@ -95,7 +95,7 @@ $(function() {
tdUnFocus($(this));
});
$('.rateCell').keydown(function(e){
$('.rateCell').keyup(function(e){
thisObj = $(this);
// Получаем подмодуль
......@@ -145,6 +145,10 @@ $(function() {
}
});
$('.rateCell input').focusin(function(){
$(this).select();
});
// При нажатие на элемент rateCell дочерный input получает фокус
$('.rateCell ').click(function(){
$(this).children('input').focus();
......
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