mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
fixed styles
This commit is contained in:
parent
c4f4d371cc
commit
423767a32a
@ -1906,22 +1906,10 @@ $(document).ready (function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$('.switch_radio_button label').on('click', function(){
|
$('.switch_radio_button label').on('click', function(){
|
||||||
console.log('primero');
|
|
||||||
var thisLabel = $(this).attr('for');
|
var thisLabel = $(this).attr('for');
|
||||||
console.log(thisLabel);
|
|
||||||
$('#'+thisLabel).prop('checked', true);
|
$('#'+thisLabel).prop('checked', true);
|
||||||
$('#'+thisLabel).siblings().prop('checked', false);
|
$('#'+thisLabel).siblings().prop('checked', false);
|
||||||
|
|
||||||
console.log('++++++++++Los warning++++++++++++++');
|
|
||||||
console.log('normal_warning: '+$('#radius-normal_warning').prop('checked'));
|
|
||||||
console.log('warning_inverse: '+$('#radius-warning_inverse').prop('checked'));
|
|
||||||
console.log('percentage_warning: '+$('#radius-percentage_warning').prop('checked'));
|
|
||||||
|
|
||||||
console.log('++++++++++Los critical++++++++++++++');
|
|
||||||
console.log('normal_critical: '+$('#radius-normal_critical').prop('checked'));
|
|
||||||
console.log('critical_inverse: '+$('#radius-critical_inverse').prop('checked'));
|
|
||||||
console.log('percentage_critical: '+$('#radius-percentage_critical').prop('checked'));
|
|
||||||
|
|
||||||
if ($('#radius-percentage_warning').prop('checked') === true || $('#radius-percentage_critical').prop('checked') === true) {
|
if ($('#radius-percentage_warning').prop('checked') === true || $('#radius-percentage_critical').prop('checked') === true) {
|
||||||
$("#svg_dinamic").hide();
|
$("#svg_dinamic").hide();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user