|
|
@ -49,8 +49,18 @@ $(document).ready(function(){ |
|
|
|
$('#id_form-' + form_idx + '-deadline_body')[0].value = $('#id_form-' + (form_idx - 1) + '-deadline_body')[0].value |
|
|
|
} |
|
|
|
$('#id_form-TOTAL_FORMS').val(parseInt(form_idx) + 1); |
|
|
|
|
|
|
|
$('.bodovani').children().change(function(){ |
|
|
|
$(this).parent().parent().children(".bodovani").children().attr("disabled", true); |
|
|
|
$(this).attr("disabled", false); |
|
|
|
}) |
|
|
|
}); |
|
|
|
$('.smazat_hodnoceni').click(function(){ |
|
|
|
deleteForm("form",this); |
|
|
|
}); |
|
|
|
|
|
|
|
$('.bodovani').children().change(function(){ |
|
|
|
$(this).parent().parent().children(".bodovani").children().attr("disabled", true); |
|
|
|
$(this).attr("disabled", false); |
|
|
|
}) |
|
|
|
}); |
|
|
|