2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Fixed checkbox group selection and HTML errors

This commit is contained in:
Adam Zammit
2015-08-05 11:15:06 +10:00
parent fdc317c79a
commit 5371c20c4c
3 changed files with 25 additions and 23 deletions

View File

@@ -199,7 +199,9 @@ function checkQid(q)
if (QidOn == 0)
QidOn = 1;
else
QidOn = 0;
QidOn = 0;
$('input').iCheck('update');
}
@@ -222,15 +224,13 @@ function checkVid(v)
if (VidOn == 0)
VidOn = 1;
else
VidOn = 0;
VidOn = 0;
$('input').iCheck('update');
}
</script>
</head>
<body>
<?php
print "<form action=\"\" method=\"post\" class=''><table class='table-bordered table-hover table-condensed form-group'><thead>";
@@ -261,14 +261,13 @@ foreach($clients as $v)
print "</table><input type=\"submit\" class='btn btn-default fa' name=\"submit\" value=\"" . T_("Assign clients to questionnaires") . "\"/></form>";
xhtml_foot();
?>
<script type="text/javascript">
$('input').iCheck({
checkboxClass: 'icheckbox_square-blue',
increaseArea: '30%'
});
</script>
<?php
xhtml_foot();

View File

@@ -205,6 +205,8 @@ function checkQid(q)
QidOn = 1;
else
QidOn = 0;
$('input').iCheck('update');
}
function checkVid(v)
@@ -226,15 +228,13 @@ function checkVid(v)
if (VidOn == 0)
VidOn = 1;
else
VidOn = 0;
VidOn = 0;
$('input').iCheck('update');
}
</script>
</head>
<body>
<?php
print "<form action=\"\" method=\"post\" class=''><table class='table-bordered table-hover table-condensed form-group'><thead>";
@@ -266,9 +266,6 @@ foreach($operators as $v)
print "</table><input class='btn btn-default fa' type='submit' name='submit' value='" . T_("Assign operators to questionnaires") . "'/></form>";
xhtml_foot();
?>
<script type="text/javascript">
@@ -277,3 +274,6 @@ $('input').iCheck({
increaseArea: '30%'
});
</script>
<?php
xhtml_foot();

View File

@@ -203,6 +203,8 @@ function checkQid(q)
QidOn = 1;
else
QidOn = 0;
$('input').iCheck('update');
}
@@ -225,12 +227,12 @@ function checkVid(v)
if (VidOn == 0)
VidOn = 1;
else
VidOn = 0;
VidOn = 0;
$('input').iCheck('update');
}
</script>
</head>
<body>
<?php
@@ -267,8 +269,6 @@ foreach($operators as $v)
print "</table><input type=\"submit\" class='btn btn-default fa' name=\"submit\" value=\"" . T_("Modify operator skills") ."\"/></form>";
xhtml_foot();
?>
<script type="text/javascript">
@@ -277,3 +277,6 @@ $('input').iCheck({
increaseArea: '30%'
});
</script>
<?php
xhtml_foot();