git ssb

0+

ev / microbay



forked from Dominic / patchbay

Commit 80053725d6e9728e8a7002217581df77265f422d

Catch error on publish

Charles Lehner committed on 7/24/2016, 2:27:46 PM
Parent: bf5b79d17d7fcf89a7cb0ad35bff87d0c66f184a

Files changed

modules/message-confirm.jschanged
modules/message-confirm.jsView
@@ -15,9 +15,10 @@
1515 var lb = lightbox()
1616 document.body.appendChild(lb)
1717
1818 var okay = h('button', 'okay', {onclick: function () {
19- publish(content); lb.remove(); cb(null, content)
19+ lb.remove()
20+ publish(content, cb)
2021 }})
2122
2223 var cancel = h('button', 'cancel', {onclick: function () {
2324 lb.remove()

Built with git-ssb-web