From 019750bea887c1c7019f43eab277e36804249a93 Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 10 Feb 2016 10:40:52 +0100 Subject: [PATCH] realtime-input.js : callback onInit if exists --- www/common/realtime-input.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/www/common/realtime-input.js b/www/common/realtime-input.js index 31ac6fbec..3a0788401 100644 --- a/www/common/realtime-input.js +++ b/www/common/realtime-input.js @@ -179,6 +179,11 @@ define([ transformFunction: config.transformFunction }); + + config.onInit && config.onInit({ + realtime: realtime + }); + onEvent = function () { if (isErrorState || initializing) { return; } };