diff --git a/www/include/reporting/dashboard/template/viewHostGroupLog.ihtml b/www/include/reporting/dashboard/template/viewHostGroupLog.ihtml index 558a83c0abab5f41169468a4ef2e578996d97b35..8d7911b5a493d9972b8a834aaffabfd28ef1f956 100644 --- a/www/include/reporting/dashboard/template/viewHostGroupLog.ihtml +++ b/www/include/reporting/dashboard/template/viewHostGroupLog.ihtml @@ -152,7 +152,7 @@ maxDate: '-1', onSelect : function(data){ jQuery( "select[name='period'] > option[value='']" ).prop('selected', true); - jQuery( "input[value='custom'][name='period_choice'][type='radio']").prop('checked', true); + jQuery( "input:[value='custom'][name='period_choice'][type='radio']").prop('checked', true); } }); @@ -160,12 +160,12 @@ maxDate: '-1', onSelect : function(data){ jQuery( "select[name='period'] > option[value='']" ).prop('selected', true); - jQuery( "input[value='custom'][name='period_choice'][type='radio']").prop('checked', true); + jQuery( "input:[value='custom'][name='period_choice'][type='radio']").prop('checked', true); } }); jQuery( "select[name='period']" ).click(function() { - jQuery( "input[value='preset'][name='period_choice'][type='radio']").prop('checked', true); + jQuery( "input:[value='preset'][name='period_choice'][type='radio']").prop('checked', true); }); jQuery(function () { diff --git a/www/include/reporting/dashboard/template/viewHostLog.ihtml b/www/include/reporting/dashboard/template/viewHostLog.ihtml index 96e21a8645021b4681a025c75ce5de1ba8b316b4..a5d20af15dffe4c9d022728b0ba35b0f35f8f5cc 100644 --- a/www/include/reporting/dashboard/template/viewHostLog.ihtml +++ b/www/include/reporting/dashboard/template/viewHostLog.ihtml @@ -175,7 +175,7 @@ maxDate: '-1', onSelect : function(data){ jQuery( "select[name='period'] > option[value='']" ).prop('selected', true); - jQuery( "input[value='custom'][name='period_choice'][type='radio']").prop('checked', true); + jQuery( "input:[value='custom'][name='period_choice'][type='radio']").prop('checked', true); } }); @@ -183,12 +183,12 @@ maxDate: '-1', onSelect : function(data){ jQuery( "select[name='period'] > option[value='']" ).prop('selected', true); - jQuery( "input[value='custom'][name='period_choice'][type='radio']").prop('checked', true); + jQuery( "input:[value='custom'][name='period_choice'][type='radio']").prop('checked', true); } }); jQuery( "select[name='period']" ).click(function() { - jQuery( "input[value='preset'][name='period_choice'][type='radio']").prop('checked', true); + jQuery( "input:[value='preset'][name='period_choice'][type='radio']").prop('checked', true); }); jQuery(function () { diff --git a/www/include/reporting/dashboard/template/viewServicesGroupLog.ihtml b/www/include/reporting/dashboard/template/viewServicesGroupLog.ihtml index 4d5b02f13bfca3f50a3f4b092cca8a442aeec6fb..88867fd8ed8aa67ecf64b0dc5790e13270f2560e 100644 --- a/www/include/reporting/dashboard/template/viewServicesGroupLog.ihtml +++ b/www/include/reporting/dashboard/template/viewServicesGroupLog.ihtml @@ -165,7 +165,7 @@ maxDate: '-1', onSelect : function(data){ jQuery( "select[name='period'] > option[value='']" ).prop('selected', true); - jQuery( "input[value='custom'][name='period_choice'][type='radio']").prop('checked', true); + jQuery( "input:[value='custom'][name='period_choice'][type='radio']").prop('checked', true); } }); @@ -173,12 +173,12 @@ maxDate: '-1', onSelect : function(data){ jQuery( "select[name='period'] > option[value='']" ).prop('selected', true); - jQuery( "input[value='custom'][name='period_choice'][type='radio']").prop('checked', true); + jQuery( "input:[value='custom'][name='period_choice'][type='radio']").prop('checked', true); } }); jQuery( "select[name='period']" ).click(function() { - jQuery( "input[value='preset'][name='period_choice'][type='radio']").prop('checked', true); + jQuery( "input:[value='preset'][name='period_choice'][type='radio']").prop('checked', true); }); jQuery(function () {