Lines 1984-1989
Link Here
|
1984 |
$(document).ready(function(){ |
1984 |
$(document).ready(function(){ |
1985 |
|
1985 |
|
1986 |
var activeTab = localStorage.getItem("sql_reports_activetab"); |
1986 |
var activeTab = localStorage.getItem("sql_reports_activetab"); |
|
|
1987 |
if( activeTab == 0 ){ |
1988 |
$("#subgroup_filter_block").hide(); |
1989 |
} |
1987 |
|
1990 |
|
1988 |
$("body").on('click',".fetch_chart_data",function(){ |
1991 |
$("body").on('click',".fetch_chart_data",function(){ |
1989 |
if( [% unlimited_total || 0 | $raw %] > 1000 ){ |
1992 |
if( [% unlimited_total || 0 | $raw %] > 1000 ){ |
Lines 2492-2504
Link Here
|
2492 |
|
2495 |
|
2493 |
if (g_id && g_id.length > 0) { |
2496 |
if (g_id && g_id.length > 0) { |
2494 |
col4.search(g_id, {exact:true}).visible(false); |
2497 |
col4.search(g_id, {exact:true}).visible(false); |
2495 |
for(var i in group_subgroups[g_id]) { |
2498 |
if( group_subgroups[g_id] && group_subgroups[g_id].length > 0 ){ |
2496 |
$("#subgroup_filter").append( |
2499 |
for(var i in group_subgroups[g_id]) { |
2497 |
'<option value="' + group_subgroups[g_id][i][0] + '">' |
2500 |
$("#subgroup_filter").append( |
2498 |
+ group_subgroups[g_id][i][1] + '</option>' |
2501 |
'<option value="' + group_subgroups[g_id][i][0] + '">' |
2499 |
); |
2502 |
+ group_subgroups[g_id][i][1] + '</option>' |
|
|
2503 |
); |
2504 |
} |
2505 |
$("#subgroup_filter_block").show(); |
2506 |
} else { |
2507 |
$("#subgroup_filter_block").hide(); |
2500 |
} |
2508 |
} |
2501 |
$("#subgroup_filter_block").show(); |
|
|
2502 |
} else { |
2509 |
} else { |
2503 |
$("#subgroup_filter_block").hide(); |
2510 |
$("#subgroup_filter_block").hide(); |
2504 |
} |
2511 |
} |
2505 |
- |
|
|