Private GIT

Skip to content
Snippets Groups Projects
Commit 6fb36503 authored by Kevin Duret's avatar Kevin Duret
Browse files

Revert "Revert "fix(jQuery): fix broken input in reporting_dashboard""

This reverts commit d176c1ca.
parent d176c1ca
Branches
Tags
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