mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Merging the Limesurvey 1.91+ branch of queXS in to the trunk
This commit is contained in:
@@ -24,22 +24,26 @@ function jquery_goodchars(e, goods)
|
||||
|
||||
$(document).ready(function(){
|
||||
$('#languagetabs').tabs();
|
||||
if ($(".assessmentlist tbody tr").size()>0)
|
||||
{
|
||||
$(".assessmentlist").tablesorter({sortList: [[0,0]] });
|
||||
}
|
||||
$('#radiototal,#radiogroup').change(
|
||||
function()
|
||||
{
|
||||
if ($('#radiototal').attr('checked')==true)
|
||||
{
|
||||
$('#newgroupselect').attr('disabled','disabled');
|
||||
$('#gid').attr('disabled','disabled');
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($('#newgroupselect>option').length==0){
|
||||
if ($('#gid>option').length==0){
|
||||
$('#radiototal').attr('checked',true);
|
||||
alert (strnogroup);
|
||||
}
|
||||
else
|
||||
{
|
||||
$('#newgroupselect').attr('disabled',false);
|
||||
$('#gid').attr('disabled',false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user