Compare View
Commits (2)
Showing
1 changed file
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', { |