webWidget.activate
AnsweredAll of a sudden it seems like a function has gone away.
vendors~web_widget.a1b1c2e981f18de37c88.chunk.js:58 Error:
Method webWidget.activate does not exist
zE('webWidget', 'activate', { hideOnClose: true } );
doesn't work
zE.activate({hideOnClose: true});
doesn't work
Was working and then suddenly isn't. Someone else is controlling the account I'm just a developer integrating the webwidget into the website. How come activate function has disappeared?
-
Hey TK
I'm not sure I understand what you're trying to do, but what I think you're trying to is to hide the widget when it is being closed by the end-user?
If this is the case, the following snippet work - it requires jQuery though.
$( document ).ready(function() {
zE('webWidget:on', 'close', function() {
zE('webWidget', 'hide');
});
}); -
Thanks... Some internal setting on the widget was changed, which has been changed back and everything is working fine again now. The activate function was just in use when the problem was hit... problem solved and active is working fine as usual.
-
Hey TK
Glad you guys got it working!
Please sign in to leave a comment.
3 Comments