Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/EjercitarWeb/WebContent/iniciar_curso.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'EjercitarWeb/WebContent/iniciar_curso.jsp')
-rw-r--r--EjercitarWeb/WebContent/iniciar_curso.jsp10
1 files changed, 5 insertions, 5 deletions
diff --git a/EjercitarWeb/WebContent/iniciar_curso.jsp b/EjercitarWeb/WebContent/iniciar_curso.jsp
index 38ce917..da1248d 100644
--- a/EjercitarWeb/WebContent/iniciar_curso.jsp
+++ b/EjercitarWeb/WebContent/iniciar_curso.jsp
@@ -53,11 +53,11 @@
total = parseFloat(total) + parseFloat(num);
}
$("#td-total-temas").text(total);
- if (total != 1) {
+ if (total != 100) {
$("#h-temas").removeClass("text-success");
$("#h-temas").addClass('text-danger');
$("#tr-total-temas").attr('class', 'danger');
- } else if (total == 1) {
+ } else if (total == 100) {
$("#h-temas").removeClass("text-danger");
$("#h-temas").addClass('text-success');
$("#tr-total-temas").attr('class', 'success');
@@ -76,11 +76,11 @@
total = parseFloat(total) + parseFloat(num);
}
$("#td-total-concepto-" + id_tema).text(total);
- if (total != 1) {
+ if (total != 100) {
$("#h-concepto-" + id_tema).removeClass("text-success");
$("#h-concepto-" + id_tema).addClass('text-danger');
$("#tr-total-concepto-" + id_tema).attr('class', 'danger');
- } else if (total == 1) {
+ } else if (total == 100) {
$("#h-concepto-" + id_tema).removeClass("text-danger");
$("#h-concepto-" + id_tema).addClass('text-success');
$("#tr-total-concepto-" + id_tema).attr('class', 'success');
@@ -93,7 +93,7 @@
var isValid = true;
$.each(totalsValue, function(idTotal, value) {
if (isValid) {
- isValid = value == 1;
+ isValid = value == 100;
}
return isValid;
});