You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

oj-bind-if not working in live mode

edited Jun 6, 2019 11:09AM in Visual Builder 3 comments

Summary

oj-bind-if not working in live mode

Content

Hi,

We have a java script condition in page.js which will be called and evaluated in oj-bind-if test condition while respective html page is rendering, 

This is working fine in preview mode , but if we run it in live mode its throwing below error.

Error : 

   VM1443:3 Uncaught (in promise) TypeError: Unable to process binding "if: function(){return $page.functions.showVABlade() }"
Message: Cannot read property 'showVABlade' of null

Attached is the code snippet of page javascript and oj-bind-if test condition from html code:

Javascript:

/* Hiding the VA Blade for mobile and Tablet screens. */

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!