Commit 2525b3f4ef0d76206910fe8f04d43fb9e789c68d
Merge branch '2.0'
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/components/modal/confirm.js
@@ -109,7 +109,8 @@ Modal.newInstance = properties => { | @@ -109,7 +109,8 @@ Modal.newInstance = properties => { | ||
109 | on: { | 109 | on: { |
110 | input: (status) => { | 110 | input: (status) => { |
111 | this.visible = status; | 111 | this.visible = status; |
112 | - } | 112 | + }, |
113 | + 'on-cancel': this.cancel | ||
113 | } | 114 | } |
114 | }, [ | 115 | }, [ |
115 | h('div', { | 116 | h('div', { |