Private GIT

Skip to content
Snippets Groups Projects
Commit bcd1f290 authored by Stephane Chapron's avatar Stephane Chapron
Browse files

fix(jQuery): fix broken input in reporting_dashboard

parent c07b2361
Branches
Tags 2.8.6
No related merge requests found
......@@ -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 () {
......
......@@ -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 () {
......
......@@ -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 () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment