diff --git a/install/ui/src/freeipa/otptoken.js b/install/ui/src/freeipa/otptoken.js index 99dedd94b..cf14869ce 100644 --- a/install/ui/src/freeipa/otptoken.js +++ b/install/ui/src/freeipa/otptoken.js @@ -398,7 +398,7 @@ otptoken.qr_widget = function(spec) { that.qrcode.makeCode(that.text); that.uri_control.text(that.text); that.div_link_control.prop('href', that.text); - that.on_value_changed(); + that.emit('value-change', { source: that, value: val }); }; /**