~singpolyma/jmp-pay

199fd55525529a689a6164c1166bac647720eebd — Stephen Paul Weber 1 year, 3 months ago faa4893
Pass through all events
1 files changed, 9 insertions(+), 0 deletions(-)

M views/credit_cards.slim
M views/credit_cards.slim => views/credit_cards.slim +9 -0
@@ 55,6 55,15 @@ javascript:
			if (ev.data === "xmpp_xep0050/next") {
				document.querySelector("form").requestSubmit();
			}
			if (ev.data === "xmpp_xep0050/cancel") {
				window.xmpp_xep0050.execute("cancel");
			}
			if (ev.data === "xmpp_xep0050/prev") {
				window.xmpp_xep0050.execute("prev");
			}
			if (ev.data === "xmpp_xep0050/complete") {
				window.xmpp_xep0050.execute("complete");
			}
		});
	}