function importCatalog(){
  loadOptionsList();
  $('#upload-modal').addClass('slds-hide');
  $('.slds-backdrop').removeClass('slds-backdrop_open');
  $('#upload-input').removeClass('slds-hide');
  $('#validation-results').addClass('slds-hide');
  $('#upload-modal').find('.slds-button_brand').prop('disabled', true);
  $('#upload-modal').find('.slds-button_text-destructive').prop('disabled', true);
  $('#items').val(null);
}
// RM: New function to apply uploaded Item Catalog to page
New function to apply uploaded Item Catalog to page
New function to apply uploaded Item Catalog to page
function importCatalog(){
  loadOptionsList();
  $('#upload-modal').addClass('slds-hide');
  $('.slds-backdrop').removeClass('slds-backdrop_open');
  $('#upload-input').removeClass('slds-hide');
  $('#validation-results').addClass('slds-hide');
  $('#upload-modal').find('.slds-button_brand').prop('disabled', true);
  $('#upload-modal').find('.slds-button_text-destructive').prop('disabled', true);
  $('#items').val(null);
}
function importCatalog ( ) { loadOptionsList ( ) ; $ ( '#upload-modal' ) . addClass ( 'slds-hide' ) ; $ ( '.slds-backdrop' ) . removeClass ( 'slds-backdrop_open' ) ; $ ( '#upload-input' ) . removeClass ( 'slds-hide' ) ; $ ( '#validation-results' ) . addClass ( 'slds-hide' ) ; $ ( '#upload-modal' ) . find ( '.slds-button_brand' ) . prop ( 'disabled' , true ) ; $ ( '#upload-modal' ) . find ( '.slds-button_text-destructive' ) . prop ( 'disabled' , true ) ; $ ( '#items' ) . val ( null ) ; }
RM: New function to apply uploaded Item Catalog to page
RM : New function to apply uploaded Item Catalog to page