diff options
author | 2019-12-12 16:11:59 +0200 | |
---|---|---|
committer | 2019-12-16 13:51:28 +0200 | |
commit | f959829f573644c2b4d5ada940348ec4893d8a8c (patch) | |
tree | 3fb5ce8490e7998a073468489fd92d4e2c74bfdc /vid-webpack-master/src/app/shared/components/genericFormPopup/generic-form-popup.component.html | |
parent | 17f0c14e91f9a76e18c86e529a477d4b2927ce8d (diff) |
When opening new VNF modal the modal should be empty.
Issue-ID: VID-727
Change-Id: I29a83ae7460c30661ad5d99860bcddda5a2936be
Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
Diffstat (limited to 'vid-webpack-master/src/app/shared/components/genericFormPopup/generic-form-popup.component.html')
-rw-r--r-- | vid-webpack-master/src/app/shared/components/genericFormPopup/generic-form-popup.component.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vid-webpack-master/src/app/shared/components/genericFormPopup/generic-form-popup.component.html b/vid-webpack-master/src/app/shared/components/genericFormPopup/generic-form-popup.component.html index f9a11eab1..2b2c2a75d 100644 --- a/vid-webpack-master/src/app/shared/components/genericFormPopup/generic-form-popup.component.html +++ b/vid-webpack-master/src/app/shared/components/genericFormPopup/generic-form-popup.component.html @@ -3,7 +3,7 @@ <div class="modal-header"> <button type="button" class="close" - (click)="formPopupDetails?.onCancel(formPopupDetails.that,dynamicForm)">× + (click)="formPopupDetails?.onCancel(formPopupDetails.that,dynamicForm);clearModalIsUpdateMode()">× </button> <span [attr.data-tests-id]="'create-modal-title'" class="modal-title">{{formPopupDetails?.title}} @@ -70,14 +70,14 @@ <button [attr.data-tests-id]="'cancelButton'" type="button" class="btn btn-default cancel" - (click)="formPopupDetails.onCancel(formPopupDetails.that, dynamicForm)"><span>Cancel</span></button> + (click)="formPopupDetails.onCancel(formPopupDetails.that, dynamicForm); clearModalIsUpdateMode()"><span>Cancel</span></button> <input type="submit" value="Set" data-tests-id="form-set" class="btn btn-success submit" [disabled]="!dynamicForm?.valid" - (click)="formPopupDetails.onSubmit(formPopupDetails.that, dynamicForm, servicesQty)"> + (click)="formPopupDetails.onSubmit(formPopupDetails.that, dynamicForm, servicesQty);clearModalIsUpdateMode()"> </div> </div> </div> |