changed hide for on-hide binding
This commit is contained in:
parent
fd0e46516c
commit
db6a5cfc3e
|
@ -44,7 +44,7 @@ class Controller {
|
|||
}
|
||||
if (modified) {
|
||||
this.$http.post(`/ticket/api/Sales/updateDiscount`, {editLines}).then(() => {
|
||||
this.hide();
|
||||
this.onHide();
|
||||
this.vnApp.showSuccess(this.$translate.instant('Data saved!'));
|
||||
this.clear();
|
||||
modified = false;
|
||||
|
@ -69,6 +69,6 @@ ngModule.component('vnTicketSaleEditDiscount', {
|
|||
edit: '<?',
|
||||
mana: '<?',
|
||||
bulk: '<?',
|
||||
hide: '&'
|
||||
onHide: '&'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -190,7 +190,7 @@
|
|||
mana="$ctrl.mana"
|
||||
bulk="false"
|
||||
edit="$ctrl.edit"
|
||||
hide="$ctrl.hideEditPopover()">
|
||||
on-hide="$ctrl.hideEditPopover()">
|
||||
</vn-ticket-sale-edit-discount>
|
||||
</vn-popover>
|
||||
|
||||
|
@ -204,7 +204,7 @@
|
|||
mana="$ctrl.mana"
|
||||
bulk="true"
|
||||
edit="$ctrl.edit"
|
||||
hide="$ctrl.hideEditDialog()">
|
||||
on-hide="$ctrl.hideEditDialog()">
|
||||
</vn-ticket-sale-edit-discount>
|
||||
</tpl-body>
|
||||
</vn-dialog>
|
||||
|
|
Loading…
Reference in New Issue