setting.ui.js 352 B

1234567891011121314
  1. window.toggleImportObjectBox = function(e)
  2. {
  3. let isImport = $(e.target).val() == 'on';
  4. if(!isImport)
  5. {
  6. $("input[name^='importObjectList']").attr('disabled', 'disabled');
  7. $('#objectBox').hide();
  8. }
  9. else
  10. {
  11. $("input[name^='importObjectList']").removeAttr('disabled');
  12. $('#objectBox').show();
  13. }
  14. }