aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaciej Malewski <maciej.malewski@nokia.com>2021-01-29 13:40:17 +0100
committerMaciej Malewski <maciej.malewski@nokia.com>2021-01-29 13:42:15 +0100
commit042fd65934cebd6447ba3f08571d4bf8a635b665 (patch)
tree13a406f97850d5541e760ad51e019817a6d60976
parentf6fa8c64c4cb4d9607deedd7339b8e74d224c7b8 (diff)
Change popup delay time and rename it's "cancel" to "OK" button.
Issue-ID: SDC-3390 Signed-off-by: Maciej Malewski <maciej.malewski@nokia.com> Change-Id: I158b85212140212a47079a1928c9f0d192fa836c
-rw-r--r--catalog-ui/configurations/dev.js2
-rw-r--r--catalog-ui/configurations/prod.js2
-rw-r--r--catalog-ui/src/app/ng2/components/forms/artifacts-form/artifacts.service.ts2
-rw-r--r--openecomp-ui/src/sdc-app/config/config.json2
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js2
5 files changed, 5 insertions, 5 deletions
diff --git a/catalog-ui/configurations/dev.js b/catalog-ui/configurations/dev.js
index 26c98d2c6e..309a63baa5 100644
--- a/catalog-ui/configurations/dev.js
+++ b/catalog-ui/configurations/dev.js
@@ -430,7 +430,7 @@ const SDC_CONFIG = {
]
},
- "displayAlertValidationAfterMilisec": 3000
+ "displayAlertValidationAfterMilisec": 10000
};
module.exports = SDC_CONFIG;
diff --git a/catalog-ui/configurations/prod.js b/catalog-ui/configurations/prod.js
index 028c44c99e..715b9a972e 100644
--- a/catalog-ui/configurations/prod.js
+++ b/catalog-ui/configurations/prod.js
@@ -430,7 +430,7 @@ const SDC_CONFIG = {
]
},
- "displayAlertValidationAfterMilisec": 3000
+ "displayAlertValidationAfterMilisec": 10000
};
module.exports = SDC_CONFIG;
diff --git a/catalog-ui/src/app/ng2/components/forms/artifacts-form/artifacts.service.ts b/catalog-ui/src/app/ng2/components/forms/artifacts-form/artifacts.service.ts
index 8c5280d85c..6a9b328d4e 100644
--- a/catalog-ui/src/app/ng2/components/forms/artifacts-form/artifacts.service.ts
+++ b/catalog-ui/src/app/ng2/components/forms/artifacts-form/artifacts.service.ts
@@ -58,7 +58,7 @@ export class ArtifactsService {
const onOkPressed = () => {
const updatedArtifact = modalInstance.innerModalContent.instance.artifact;
this.serviceLoader.activate();
- this.modalAlertservice.openDelayedAlertModal('Please be patient', 'Large files processing may take up to several minutes.', 'Cancel');
+ this.modalAlertservice.openDelayedAlertModal('Please be patient', 'Large files processing may take up to several minutes.', 'OK');
this.dispatchArtifactAction(componentId, componentType, updatedArtifact, artifactType, instanceId, resourceType)
.subscribe().add(() => {
this.serviceLoader.deactivate();
diff --git a/openecomp-ui/src/sdc-app/config/config.json b/openecomp-ui/src/sdc-app/config/config.json
index b79adf2f82..1944b4ca0d 100644
--- a/openecomp-ui/src/sdc-app/config/config.json
+++ b/openecomp-ui/src/sdc-app/config/config.json
@@ -13,5 +13,5 @@
"defaultNotificationsWorkerUpdateMillisecond": 10000,
"showBrowseVNF": true,
"allTestScenario": "onap-dublin",
- "displayAlertValidationAfterMilisec": 3000
+ "displayAlertValidationAfterMilisec": 10000
}
diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js
index 4e3133216b..a067fd4765 100644
--- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js
+++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js
@@ -75,7 +75,7 @@ function getTimingInfoWarning() {
data: {
title: 'Please be patient',
msg: 'Large files processing may take up to several minutes.',
- cancelButtonText: i18n('Cancel')
+ cancelButtonText: 'OK'
}
};
}