devops.ui.js 480 B

1234567891011121314151617181920
  1. const changeStoreAppMethod = window.onChangeStoreAppType;
  2. window.onChangeStoreAppType = function(event)
  3. {
  4. changeStoreAppMethod(event);
  5. let storeApp = appID;
  6. if(!storeApp)
  7. {
  8. if(typeof(event) == 'undefined')
  9. {
  10. storeApp = defaultApp;
  11. }
  12. else
  13. {
  14. storeApp = $('[name=storeAppType]').val();
  15. }
  16. }
  17. loadTarget($.createLink('instance', 'ajaxGetCustoms', 'appID=' + storeApp), '#customField');
  18. }