Browse Source

Highlighting of Sorting enabled/disabled status was not triggered onload

pull/1450/head
Safihre 5 years ago
parent
commit
d2c3a51aac
  1. 7
      interfaces/Config/templates/staticcfg/js/script.js

7
interfaces/Config/templates/staticcfg/js/script.js

@ -412,10 +412,11 @@ $(document).ready(function () {
$(checkDisabled).on('change', function() {
$(this).parent().nextAll().toggleClass('disabled')
}).each(function() {
if(!$(this).is(':checked')) {
$(this).parent().nextAll().addClass('disabled')
}
})
if(!$(checkDisabled).is(':checked')) {
$(checkDisabled).parent().nextAll().addClass('disabled')
}
// Advanced or not?
$('.advanced-button').on('change', function(event){

Loading…
Cancel
Save